1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-24 05:02:29 +00:00
dotfiles/scripts/.bin/i3-one-instance

6 lines
155 B
Plaintext
Raw Normal View History

2013-06-17 08:27:17 +00:00
#!/bin/sh
2013-06-20 15:10:06 +00:00
python2 $HOME/.bin/i3-wm-scripts/nextmatch.py $*
2013-06-17 08:27:17 +00:00
if [ $? -gt 0 ]; then
2013-06-20 15:10:06 +00:00
$* & sleep 0.1 && python2 $HOME/.bin/i3-wm-scripts/nextmatch.py $*
2013-06-17 08:27:17 +00:00
fi