format stuff, switch back to brightnessctl, no more universal shell stuff, fix various things

This commit is contained in:
askiiart 2024-04-20 20:33:35 -05:00
parent 4bbfa111d5
commit ab89154611
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
17 changed files with 108 additions and 41 deletions

View file

@ -59,10 +59,10 @@ for_window [title="Authentication Required" app_id="lxqt-policykit-agent"] float
bindsym Scroll_Lock exec --no-startup-id $lockwall, mode "default"
# Adjust screen brightness with keys
bindsym Mod4+Mod1+Up exec "light -A 10%"
bindsym Mod4+Mod1+Down exec "light -U 10%"
bindsym Mod4+Mod1+Shift+Up exec "light -A 1%"
bindsym Mod4+Mod1+Shift+Down exec "light -U 1%"
bindsym Mod4+Mod1+Up exec "brightnessctl 10%+"
bindsym Mod4+Mod1+Down exec "brightnessctl 10%-"
bindsym Mod4+Mod1+Shift+Up exec "brightnessctl 1&+"
bindsym Mod4+Mod1+Shift+Down exec "brightnessctl 1%-"
# Adjust volume with keys
bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle"
@ -70,3 +70,6 @@ bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +2%"
bindsym Mod4+Mod1+Right exec "pactl set-sink-volume @DEFAULT_SINK@ +2%"
bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -2%"
bindsym Mod4+Mod1+Left exec "pactl set-sink-volume @DEFAULT_SINK@ -2%"
# pipewire
exec "command_exists() { type '$1' &>/dev/null; }; if command_exists 'xbps-install'; then pipewire; fi"