sway-config/conf.d/mode_brightness.conf

19 lines
621 B
Text

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"
}