I try to setup `night light mode` in order to filter blue color on my #OpenBSD #Xenocara but, xrandr --gamma does nothing on X but seems to alter color on ttyC*. At least, xgamma(1) does work if I launch a Xephyr window. I don't know where to dig now, if it's driver dependant and if it supposed to work with my Intel HD Graphics 520.
@_xhr_ That do the trick ! Thanks !
The code is actually very simple and seems to do what I thought I could do with a simple `xrandr --output $disp --gamma 1.0:1.0:0.7` for example.
I didn't think I would have to use an external tool.
@vaartis @oa There is another thing called sct that is much more minimal :D https://www.umaxx.net/dl/sct-0.5.tar.gz
you can "pkg_add sct"
@qbit @vaartis Thanks to @_xhr_ who made the same suggestion, I've found this post from Ted Unangst which explain why this tool exists:
https://flak.tedunangst.com/post/sct-set-color-temperature
@oa I use sct for setting the temperature.
Since it's a very simple tool, it cannot alter the temperature depending on the time of day.
https://openports.pl/path/x11/sct