Fix the brightness commands, switching quote types did not work.

This commit is contained in:
2026-07-23 18:45:31 -07:00
parent 481f8fa5d1
commit 04d9498c72
+8 -8
View File
@@ -149,16 +149,16 @@ bindsym $ctrl+$shift+3 workspace $ws3; exec codium-flatpak;
## Brightness ## ## Brightness ##
# Use the bracket keys to change the brightness. # Use the bracket keys to change the brightness.
# light requires sudo privileges unless video group and udev are configured. # light requires sudo privileges unless video group and udev are configured.
bindsym $mod+bracketleft exec --no-startup-id 'light -U 5; 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 $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+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)' bindsym shift+$mod+bracketright exec --no-startup-id "light -A 20; notify-send 'Brightness +++' $(light -G)"
# Also get the actual brightness keys to work!! # Also get the actual brightness keys to work!!
bindsym XF86MonBrightnessUp exec --no-startup-id 'light -A 5; 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 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+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)' bindsym shift+XF86MonBrightnessDown exec --no-startup-id "light -U 20; notify-send 'Brightness ---' $(light -G)"
## Volume ## ## Volume ##