commit 418ffda68f72dbfaf88c4c71fe9e045e6c195333
parent d7c5d6fdbc0c66a8e2127185733f702175b114d6
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date: Thu, 8 Oct 2020 12:39:17 +0200
Remap keys
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/xinit/.config/X11/xinitrc b/xinit/.config/X11/xinitrc
@@ -15,6 +15,8 @@ fi
# Setup
xrdb -merge $XDG_CONFIG_HOME/X11/Xresources # Read Xresources
xmodmap $XDG_CONFIG_HOME/X11/Xmodmap
+setxkbmap -option caps:super # Treat capslock as super key
+killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' # Use capslock as escape when pressed once
setxkbmap -layout de # Set keyboard layout
xwallpaper --zoom $XDG_DATA_HOME/wallpaper.png # Set wallpaper
light -S 50 # Dim screen