commit 67825e75fda23b9af4fcb720709b93460ebf2da9
parent 8a7b27a56e4b1877a4f6c5469e3eba0c04704cfe
Author: pyratebeard <root@pyratebeard.net>
Date: Fri, 2 Aug 2019 23:08:43 +0100
use xcape so caps key can be used as escape and ctrl
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/xinit/.xinitrc b/xinit/.xinitrc
@@ -10,7 +10,8 @@ sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# set caps to escape
-setxkbmap -option caps:escape
+setxkbmap -option ctrl:nocaps
+xcape -e 'Control_L=Escape'
# add fonts
xset +fp /usr/share/fonts/local