diff --git a/conf.d/mode_brightness.conf b/conf.d/mode_brightness.conf new file mode 100644 index 0000000..23443fc --- /dev/null +++ b/conf.d/mode_brightness.conf @@ -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" +}