From abd282ead4b1f0b3cdd5cc7faf231f0ca6181fb6 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Sun, 20 Nov 2022 18:41:32 -0700 Subject: add xmodmap, changed aliases and locations --- x/.xinitrc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'x/.xinitrc') diff --git a/x/.xinitrc b/x/.xinitrc index b69dd4c..753b518 100644 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -71,6 +71,14 @@ keepassxc ~/.passwords/Passwords.kdbx & #wallpapers.sh & feh --bg-fill git/wallpapers-exorcist/gruvbox/canyon.jpg git/wallpapers-exorcist/gruvbox/canyon.jpg & +# if unicomp keyboard detected, turn alt into super +if $(lsusb | grep -qi "Unicomp"); then + xmodmap -e "remove mod1 = Alt_L" + xmodmap -e "remove mod4 = Super_L" + xmodmap -e "remove mod1 = Super_L" + xmodmap -e "remove mod4 = Alt_L" +fi + # start dwm redshift & xset r rate 300 50 -- cgit v1.2.3