aboutsummaryrefslogtreecommitdiff
path: root/x
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
parent290247d424e6a91fa04b69a1c17ace583bd92290 (diff)
downloaddotfiles-2d1191a092a26997d3b177d1d3f3a315cdd4a38e.tar
dotfiles-2d1191a092a26997d3b177d1d3f3a315cdd4a38e.tar.gz
dotfiles-2d1191a092a26997d3b177d1d3f3a315cdd4a38e.tar.bz2
another cool update
Diffstat (limited to 'x')
-rw-r--r--x/.xinitrc7
-rw-r--r--x/.xinitrc-not-docked14
2 files changed, 15 insertions, 6 deletions
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