Add some fixes that may have been what got light to work.

This commit is contained in:
2026-07-17 19:37:35 -07:00
parent bf4b6951ac
commit 69bf1c25fb
2 changed files with 19 additions and 10 deletions
+11 -8
View File
@@ -141,16 +141,16 @@ bindsym $mod+c exec codium-flatpak
## Brightness ##
# Use the bracket keys to change the brightness.
# light requires sudo privileges unless video group and udev are configured.
bindsym $mod+bracketleft exec --no-startup-id "light -U 2; notify-send 'Brightness -' $(light -G)"
bindsym $mod+bracketright exec --no-startup-id "light -A 2; notify-send 'Brightness +' $(light -G)"
bindsym shift+$mod+bracketleft exec --no-startup-id "light -U 10; notify-send 'Brightness ---' $(light -G)"
bindsym shift+$mod+bracketright exec --no-startup-id "light -A 10; notify-send 'Brightness +++' $(light -G)"
bindsym $mod+bracketleft exec --no-startup-id "light -U 5; notify-send 'Brightness -' $(light -G)"
bindsym $mod+bracketright exec --no-startup-id "light -A 5; notify-send 'Brightness +' $(light -G)"
bindsym shift+$mod+bracketleft exec --no-startup-id "light -U 20; notify-send 'Brightness ---' $(light -G)"
bindsym shift+$mod+bracketright exec --no-startup-id "light -A 20; notify-send 'Brightness +++' $(light -G)"
# Also get the actual brightness keys to work!!
bindsym XF86MonBrightnessUp exec --no-startup-id "light -A 2; notify-send 'Brightness +' $(light -G)"
bindsym XF86MonBrightnessDown exec --no-startup-id "light -U 2; notify-send 'Brightness -' $(light -G)"
bindsym shift+XF86MonBrightnessUp exec --no-startup-id "light -A 10; notify-send 'Brightness +++' $(light -G)"
bindsym shift+XF86MonBrightnessDown exec --no-startup-id "light -U 10; notify-send 'Brightness ---' $(light -G)"
bindsym XF86MonBrightnessUp exec --no-startup-id "light -A 5; notify-send 'Brightness +' $(light -G)"
bindsym XF86MonBrightnessDown exec --no-startup-id "light -U 5; notify-send 'Brightness -' $(light -G)"
bindsym shift+XF86MonBrightnessUp exec --no-startup-id "light -A 20; notify-send 'Brightness +++' $(light -G)"
bindsym shift+XF86MonBrightnessDown exec --no-startup-id "light -U 20; notify-send 'Brightness ---' $(light -G)"
## Volume ##
@@ -277,3 +277,6 @@ bar {
exec i3-sensible-terminal
#exec firefox-flatpak
exec light -O
exec light -N 0