From 9f2740dbbf703ee8335db9a60c8820b1dd2e0df4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 28 Feb 2017 19:04:57 -0500 Subject: [PATCH] os/arch (sxhkdrc): use tmux to toggle scratchpad --- os/arch/.config/sxhkd/sxhkdrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/os/arch/.config/sxhkd/sxhkdrc b/os/arch/.config/sxhkd/sxhkdrc index 0031d78c..9e3926b0 100644 --- a/os/arch/.config/sxhkd/sxhkdrc +++ b/os/arch/.config/sxhkd/sxhkdrc @@ -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