From 42964cde80b51444ee47caa91def3ae9bde68953 Mon Sep 17 00:00:00 2001 From: lub Date: Mon, 26 Aug 2019 17:42:01 +0200 Subject: [PATCH] add brightness controls to sway --- dotfiles/sway/.config/sway/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles/sway/.config/sway/config b/dotfiles/sway/.config/sway/config index 450fd76..b0ff951 100644 --- a/dotfiles/sway/.config/sway/config +++ b/dotfiles/sway/.config/sway/config @@ -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+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_window [workspace="9"] floating enable for_window [workspace="10"] floating enable