I'm trying to set custom screen bindings in i3WM and looking for a way to decrease/increase the brightness on button press. I've tried using the following:
xbacklight -dec10 xbacklight -set 70
xbacklight would work however it does not affect my HDMI connected monitor, no backlight apparently:
HDMI-0 has no "Backlight" property unlike the laptop screen, the above code works fine on my laptop screen, however I want to reduce the brightness on all monitors.
Next I tried:
xrandr --output DP-0 --brightness 0.5 xrandr --output HMDI-0 --brightness 0.5
Which works! Well, for about 1 second then it defaults back. My question: is there any way I can get these changes to stick, at least until the next reboot?
PS - Running Debian GNU/Linux 8.5 | 4.5.0-0.bpo.1-amd64 | i3 4.8-2
PPS - I can easily set the i3 configuration and key bindings, no assistance needed with that part :)