aboutsummaryrefslogtreecommitdiff
path: root/x/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to 'x/.xinitrc')
-rw-r--r--x/.xinitrc8
1 files changed, 8 insertions, 0 deletions
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