1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-12-23 00:58:12 +00:00
dotfiles/bin/i3-one-tmux
J.Fernando Sánchez d8f23e0276 Removed personal-scripts submodule
To make my life a bit easier
2013-06-20 17:54:47 +02:00

12 lines
272 B
Bash
Executable File

#!/bin/zsh
python2 $HOME/.bin/i3-wm-scripts/nextmatch.py urxvt
if [ $? -gt 0 ]; then
urxvt & sleep 0.1 && python2 $HOME/.bin/i3-wm-scripts/nextmatch.py urxvt
fi
if [ "$#" -gt 0 ]; then
eval "tmux neww"
sleep 0.2
xdotool type "$*"
xdotool key Return
fi