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 | 7 ++++--- x/.xinitrc-not-docked | 14 +++++++++++--- 2 files changed, 15 insertions(+), 6 deletions(-) (limited to 'x') diff --git a/x/.xinitrc b/x/.xinitrc index dee608b..dd30be4 100644 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -41,7 +41,7 @@ fi /usr/bin/dunst & # open picom compositor -#picom --config ~/.config/picom.conf & +picom --config ~/.config/picom.conf & #spotifyd & @@ -49,7 +49,8 @@ fi sh ~/.config/screenlayout.sh & # set default audio device to be dock audio jack -pulseaudio -k && pacmd set-default-sink alsa_output.usb-0c76_USB_PnP_Audio_Device-00.analog-stereo & +pulseaudio -k & +pacmd set-default-sink alsa_output.usb-0c76_USB_PnP_Audio_Device-00.analog-stereo & # add weather, date and time to xsetroot #sh ~/bin/xsetloop-docked.sh & @@ -69,7 +70,7 @@ keepassxc ~/.passwords/Passwords.kdbx & # set up wallpapers #wallpapers.sh & -feh --bg-fill git/wallpapers-exorcist/gruvbox/canyon.jpg git/wallpapers-exorcist/gruvbox/canyon.jpg & +feh --bg-fill git/wallpapers-exorcist/gruvbox/mountains-2.jpg git/wallpapers-exorcist/gruvbox/mountains-2.jpg & # if unicomp keyboard detected, turn alt into super if $(lsusb | grep -qi "Unicomp"); then 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