add brightness controls mode
This commit is contained in:
parent
1a4c2cecc0
commit
47d8d2a54a
1 changed files with 19 additions and 0 deletions
19
conf.d/mode_brightness.conf
Normal file
19
conf.d/mode_brightness.conf
Normal 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"
|
||||||
|
}
|
Loading…
Reference in a new issue