update brightness
This commit is contained in:
parent
fa15f8c61a
commit
8870506a0f
2 changed files with 5 additions and 3 deletions
|
|
@ -120,9 +120,10 @@
|
|||
",XF86AudioMute, exec, ${pkgs.ponymix}/bin/ponymix, toggle"
|
||||
|
||||
# Screen Brightness
|
||||
",XF86MonBrightnessUp, exec, ${pkgs.light}/bin/light -A 10"
|
||||
",XF86MonBrightnessDown, exec, ${pkgs.light}/bin/light -U 10"
|
||||
|
||||
#",XF86MonBrightnessUp, exec, ${pkgs.light}/bin/light -A 10"
|
||||
#",XF86MonBrightnessDown, exec, ${pkgs.light}/bin/light -U 10"
|
||||
",XF86MonBrightnessUp, exec, ${pkgs.light}/bin/light -S \"$(${pkgs.light}/bin/light -G | ${pkgs.busybox}/bin/awk '{ print int(($1 + .72) * 1.4) }')\""
|
||||
",XF86MonBrightnessDown, exec, ${pkgs.light}/bin/light -S \"$(${pkgs.light}/bin/light -G | ${pkgs.busybox}/bin/awk '{ print int($1 / 1.4) }')\""
|
||||
# move focus
|
||||
"$mod, left, movefocus, l"
|
||||
"$mod, right, movefocus, r"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue