This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- xmobar config used by Vic Fryzel | |
-- Author: Vic Fryzel | |
-- http://github.com/vicfryzel/xmonad-config | |
Config { | |
--font = "xft:Fixed-8", | |
font = "xft:Source Han Sans:size=9:bold:antialias=true", | |
fgColor = "#7F8C8D", | |
bgColor = "#000000", | |
position = Top, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 29, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [], | |
"source": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
tmpfile=`mktemp` # name for temp file in /tmp | |
tmux pipe-pane -t matlab:matlab -o "cat > $tmpfile" | |
while read line | |
do | |
line=${line//;/\\;} # replace ; with \; to pass send-keys of tmux | |
tmux send-keys -l -t matlab:matlab "$line" # send keys literaly | |
tmux send-keys -t matlab:matlab Enter | |
sleep 0.2s # wait until the commands are put to tmux |
NewerOlder