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