aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-03-14 11:19:14 +0100
committerKarel Kočí <cynerd@email.cz>2023-03-14 11:19:14 +0100
commit9143b515e0d0907682f3af45cb7af13473f3c7cb (patch)
treee0e2a2851fe1e86e10e6f47129ccd9e553c16bef
parent8732decbddb3f5ee85231755472bf632707c2d9e (diff)
downloadmyconfigs-9143b515e0d0907682f3af45cb7af13473f3c7cb.tar.gz
myconfigs-9143b515e0d0907682f3af45cb7af13473f3c7cb.tar.bz2
myconfigs-9143b515e0d0907682f3af45cb7af13473f3c7cb.zip
sway: use light instead of xbacklight
-rw-r--r--config/sway/bindsym-media4
1 files changed, 2 insertions, 2 deletions
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