Support brightness adjustments on laptop
I used `light` on my MBP running NixOS. I got `xbacklight` working on my Dell Precision running gLinux. It wasn't easy, and I still don't fully understand the integration story. Thankfully I'm not alone and the documentation from the Arch Linux came to rescue (per usual).
This commit is contained in:
parent
48320fcae4
commit
0eaf4602d8
1 changed files with 2 additions and 2 deletions
|
@ -14,5 +14,5 @@ bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
||||||
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||||
|
|
||||||
# screen brightness controls
|
# screen brightness controls
|
||||||
bindsym XF86MonBrightnessUp exec light -A 10
|
bindsym XF86MonBrightnessUp exec xbacklight -inc 15
|
||||||
bindsym XF86MonBrightnessDown exec light -U 10
|
bindsym XF86MonBrightnessDown exec xbacklight -dec 15
|
||||||
|
|
Loading…
Reference in a new issue