os/arch (sxhkdrc): use tmux to toggle scratchpad

This commit is contained in:
Henrik Lissner 2017-02-28 19:04:57 -05:00
parent 78b6ced011
commit 9f2740dbbf

View file

@ -8,8 +8,7 @@ super + ctrl + Return
# scratchpad
super + grave
xdotool search --onlyvisible --classname urxvt-scratch windowunmap \
|| xdotool search --classname urxvt-scratch windowmap \
tmux kill-session -t scratch \
|| urxvt -name urxvt-scratch -geometry 100x26 -e bash -c 'tmux new-session -A -s scratch'
# program launcher