add brightness controls to sway

master
lub 5 years ago
parent b114da0840
commit 42964cde80

@ -231,6 +231,10 @@ bindsym XF86AudioNext exec --no-startup-id 'rhythmbox-client --no-start --next'
bindsym $mod+shift+s exec --no-startup-id 'grim -g "$(slurp)" - | wl-copy' bindsym $mod+shift+s exec --no-startup-id 'grim -g "$(slurp)" - | wl-copy'
bindsym $mod+ctrl+shift+s exec --no-startup-id 'grim - | wl-copy' bindsym $mod+ctrl+shift+s exec --no-startup-id 'grim - | wl-copy'
#brightness
bindsym XF86MonBrightnessUp exec --no-startup-id 'sudo brightnessctl -d intel_backlight s +5%'
bindsym XF86MonBrightnessDown exec --no-startup-id 'sudo brightnessctl -d intel_backlight s 5%-'
#for gaming #for gaming
for_window [workspace="9"] floating enable for_window [workspace="9"] floating enable
for_window [workspace="10"] floating enable for_window [workspace="10"] floating enable

Loading…
Cancel
Save