From 517067eb830cbc8513b1c65d9663d6a766663d0a Mon Sep 17 00:00:00 2001 From: mokou Date: Sat, 25 Apr 2020 14:39:03 +0200 Subject: [PATCH] Implement brightness control --- dot_config/sway/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dot_config/sway/config b/dot_config/sway/config index 695731d..cf36f31 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -130,6 +130,10 @@ bindsym XF86AudioMute exec pamixer -t bindsym XF86AudioRaiseVolume exec pamixer -i 5 bindsym XF86AudioLowerVolume exec pamixer -d 5 +# Brightness +bindsym XF86MonBrightnessUp exec light -A 10 +bindsym XF86MonBrightnessDown exec light -U 10 + # Lock bindsym $mod+Shift+o exec swaylock -f -C ~/.config/swaylock/config