mirror of
https://github.com/balkian/dotfiles.git
synced 2025-08-23 16:02:19 +00:00
New config
This commit is contained in:
11
scripts/.bin/i3-one-tmux
Executable file
11
scripts/.bin/i3-one-tmux
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/zsh
|
||||
python2 $HOME/.bin/i3-wm-scripts/nextmatch.py tmux
|
||||
if [ $? -gt 0 ]; then
|
||||
urxvt -e tmux attach & sleep 0.1 && python2 $HOME/.bin/i3-wm-scripts/nextmatch.py tmux
|
||||
fi
|
||||
if [ "$#" -gt 0 ]; then
|
||||
eval "tmux neww"
|
||||
sleep 0.2
|
||||
xdotool type "$*"
|
||||
xdotool key Return
|
||||
fi
|
Reference in New Issue
Block a user