about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-24T16·10+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-24T16·10+0000
commit0eaf4602d8ae1df7984d6b349dabb791c970b2fe (patch)
treedf85efd952ccd9ce709d1490d0dd34e77230a069 /configs
parent48320fcae4ca503b1fec67ad2ed94943efce836c (diff)
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).
Diffstat (limited to 'configs')
-rw-r--r--configs/laptop/misc/.config/i3/config.device4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/laptop/misc/.config/i3/config.device b/configs/laptop/misc/.config/i3/config.device
index 376b1c5754be..3d68b26db17f 100644
--- a/configs/laptop/misc/.config/i3/config.device
+++ b/configs/laptop/misc/.config/i3/config.device
@@ -14,5 +14,5 @@ bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
 bindsym XF86AudioNext exec --no-startup-id playerctl next
 
 # screen brightness controls
-bindsym XF86MonBrightnessUp   exec light -A 10
-bindsym XF86MonBrightnessDown exec light -U 10
+bindsym XF86MonBrightnessUp   exec xbacklight -inc 15
+bindsym XF86MonBrightnessDown exec xbacklight -dec 15