From 9143b515e0d0907682f3af45cb7af13473f3c7cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 14 Mar 2023 11:19:14 +0100 Subject: sway: use light instead of xbacklight --- config/sway/bindsym-media | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/sway/bindsym-media b/config/sway/bindsym-media index c72491a..13026fc 100644 --- a/config/sway/bindsym-media +++ b/config/sway/bindsym-media @@ -12,8 +12,8 @@ for_window [ title="Pulsemixer" ] move position center # Screen brightness controls -bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 20 -bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 20 +bindsym XF86MonBrightnessUp exec --no-startup-id light -A 10 +bindsym XF86MonBrightnessDown exec --no-startup-id light -U 10 # Media player controls bindsym XF86AudioPlay exec --no-startup-id mpc toggle && pkill -RTMIN+12 i3blocks -- cgit v1.2.3