aboutsummaryrefslogtreecommitdiff
path: root/x/.xinitrc-not-docked
diff options
context:
space:
mode:
authorBryson Steck <brysonsteck@protonmail.com>2023-04-02 22:20:09 -0600
committerBryson Steck <brysonsteck@protonmail.com>2023-04-02 22:20:09 -0600
commit2d1191a092a26997d3b177d1d3f3a315cdd4a38e (patch)
tree3c20759c47a3d04fc5787461a6b707437277037a /x/.xinitrc-not-docked
parent290247d424e6a91fa04b69a1c17ace583bd92290 (diff)
downloaddotfiles-2d1191a092a26997d3b177d1d3f3a315cdd4a38e.tar
dotfiles-2d1191a092a26997d3b177d1d3f3a315cdd4a38e.tar.gz
dotfiles-2d1191a092a26997d3b177d1d3f3a315cdd4a38e.tar.bz2
another cool update
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