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:
William Carroll 2019-03-24 16:10:43 +00:00
parent 48320fcae4
commit 0eaf4602d8

View file

@ -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