From 2d1191a092a26997d3b177d1d3f3a315cdd4a38e Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Sun, 2 Apr 2023 22:20:09 -0600 Subject: another cool update --- x/.xinitrc-not-docked | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'x/.xinitrc-not-docked') diff --git a/x/.xinitrc-not-docked b/x/.xinitrc-not-docked index fef3ae5..d218b61 100644 --- a/x/.xinitrc-not-docked +++ b/x/.xinitrc-not-docked @@ -41,7 +41,7 @@ fi /usr/bin/dunst & # start picom compositor -#picom --config ~/.config/picom.conf & +picom --config ~/.config/picom.conf & #spotifyd & @@ -56,7 +56,7 @@ pacmd set-default-sink alsa_output.pci-0000_03_00.6.HiFi__hw_Generic_1__sink & pacmd set-sink-volume alsa_output.pci-0000_03_00.6.HiFi__hw_Generic_1__sink 0 & # set up wallpaper -feh --bg-fill ~/git/wallpapers-exorcist/gruvbox/volcano-landscape.jpg +feh --bg-fill ~/git/wallpapers-exorcist/gruvbox/books.jpg # apply Xresources xrdb -merge ~/.Xresources @@ -73,7 +73,15 @@ xrandr --output eDP --auto --set TearFree on --output HDMI-A-0 --set TearFree on # start keepassxc for passwords keepassxc ~/.passwords/Passwords.kdbx & +# if logitech keyboard detected, turn alt into super +if $(lsusb | grep -qi "Logitech Mechanical Keyboard"); then + xmodmap -e "remove mod1 = Alt_L" + xmodmap -e "remove mod4 = Super_L" + xmodmap -e "add mod1 = Super_L" + xmodmap -e "add mod4 = Alt_L" +fi + # start dwm redshift & -xset r rate 200 80 +xset r rate 300 80 exec /home/bryson/bin/startdwm.sh -- cgit v1.2.3