os/arch (sxhkdrc): use tmux to toggle scratchpad
This commit is contained in:
parent
78b6ced011
commit
9f2740dbbf
|
@ -8,8 +8,7 @@ super + ctrl + Return
|
||||||
|
|
||||||
# scratchpad
|
# scratchpad
|
||||||
super + grave
|
super + grave
|
||||||
xdotool search --onlyvisible --classname urxvt-scratch windowunmap \
|
tmux kill-session -t scratch \
|
||||||
|| xdotool search --classname urxvt-scratch windowmap \
|
|
||||||
|| urxvt -name urxvt-scratch -geometry 100x26 -e bash -c 'tmux new-session -A -s scratch'
|
|| urxvt -name urxvt-scratch -geometry 100x26 -e bash -c 'tmux new-session -A -s scratch'
|
||||||
|
|
||||||
# program launcher
|
# program launcher
|
||||||
|
|
Loading…
Reference in a new issue