add brightness controls mode

This commit is contained in:
Alex Kelly 2022-08-30 13:04:52 -04:00
parent 1a4c2cecc0
commit 47d8d2a54a

View file

@ -0,0 +1,19 @@
bindsym $mod+x mode "brightness"
mode "brightness" {
bindsym j exec "brightnessctl s +10%"
bindsym k exec "brightnessctl s 10%-"
bindsym 1 exec "brightnessctl s 10%"
bindsym 2 exec "brightnessctl s 20%"
bindsym 3 exec "brightnessctl s 30%"
bindsym 4 exec "brightnessctl s 40%"
bindsym 5 exec "brightnessctl s 50%"
bindsym 6 exec "brightnessctl s 60%"
bindsym 7 exec "brightnessctl s 70%"
bindsym 8 exec "brightnessctl s 80%"
bindsym 9 exec "brightnessctl s 90%"
bindsym 0 exec "brightnessctl s 1000%"
bindsym Return mode "default"
bindsym Escape mode "default"
}