mirror of https://github.com/balkian/dotfiles.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
285 B
Plaintext
12 lines
285 B
Plaintext
11 years ago
|
#!/bin/zsh
|
||
11 years ago
|
python2 $HOME/.bin/i3-wm-scripts/nextmatch.py tmux
|
||
11 years ago
|
if [ $? -gt 0 ]; then
|
||
11 years ago
|
urxvt -e tmux attach & sleep 0.1 && python2 $HOME/.bin/i3-wm-scripts/nextmatch.py tmux
|
||
11 years ago
|
fi
|
||
|
if [ "$#" -gt 0 ]; then
|
||
|
eval "tmux neww"
|
||
|
sleep 0.2
|
||
|
xdotool type "$*"
|
||
|
xdotool key Return
|
||
|
fi
|