aboutsummaryrefslogtreecommitdiff
path: root/x/.xinitrc
diff options
context:
space:
mode:
authorBryson Steck <brysonsteck@protonmail.com>2022-11-20 18:41:32 -0700
committerBryson Steck <brysonsteck@protonmail.com>2022-11-20 18:41:32 -0700
commitabd282ead4b1f0b3cdd5cc7faf231f0ca6181fb6 (patch)
treede47857382b5e7329668deca94ade15ef8067fd9 /x/.xinitrc
parent1fad9afb72b2d729bb5328dfd6711c0a8dc4e8d3 (diff)
downloaddotfiles-abd282ead4b1f0b3cdd5cc7faf231f0ca6181fb6.tar
dotfiles-abd282ead4b1f0b3cdd5cc7faf231f0ca6181fb6.tar.gz
dotfiles-abd282ead4b1f0b3cdd5cc7faf231f0ca6181fb6.tar.bz2
add xmodmap, changed aliases and locations
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