From 1220d6a1010478cdfa8976bc67ef73beb56a24fc Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 29 Sep 2018 16:03:10 -0400 Subject: [PATCH] avoid multiple xcapes on restart --- .scripts/remaps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/remaps b/.scripts/remaps index 32394e4..39f82b7 100755 --- a/.scripts/remaps +++ b/.scripts/remaps @@ -12,7 +12,7 @@ setxkbmap -layout us -variant altgr-intl -option caps:super #setxkbmap -option caps:super # But when it is pressed only once, treat it as escape. -xcape -e 'Super_L=Escape' +killall xcape ; xcape -e 'Super_L=Escape' # Map the menu button to right super as well. xmodmap -e 'keycode 135 = Super_R'