aboutsummaryrefslogtreecommitdiff
path: root/dot-config/sway
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2024-11-01 19:01:19 +0000
committerBlake Romero <blake@blkrom.com>2024-11-01 19:01:19 +0000
commita8f35f38fca12167d502ed7e9bbb20e021096c8f (patch)
tree722558c2ca62d8a275d4741f3ce901a785fda422 /dot-config/sway
parent18f6757abeb1a1c733865238d8b0386567ffdcdd (diff)
Fix sway screen brightness keybindings
Diffstat (limited to 'dot-config/sway')
-rw-r--r--dot-config/sway/config4
1 files changed, 2 insertions, 2 deletions
diff --git a/dot-config/sway/config b/dot-config/sway/config
index 4345277..56552c4 100644
--- a/dot-config/sway/config
+++ b/dot-config/sway/config
@@ -65,8 +65,8 @@ bindsym $mod+r reload
bindsym $mod+e exec swaynag -t warning -m 'Do you want to exit sway?' -B 'Yes, exit sway' 'swaymsg exit'
bindsym $mod+Escape exit
-bindsym XF86KbdBrightnessUp exec brightnessctl set +10%
-bindsym XF86KbdBrightnessDown exec brightnessctl set -10%
+bindsym --locked XF86MonBrightnessUp exec brightnessctl --save set +10%
+bindsym --locked XF86MonBrightnessDown exec brightnessctl --save --min-value=10 set 10-%
bindsym $mod+h splith
bindsym $mod+v splitv