| FILTERS.CONF(5) | Carbonian Manual | FILTERS.CONF(5) |
filters.conf - colour filters over everything the screens show
One filter per line:
The colour of every pixel becomes rgb' = M * rgb + S * alpha, in premultiplied values from 0 to 1, in the screen's own encoding. The three rows of the matrix give the new red, green and blue; the shift S is zero when left out.
/etc/carbonian/filters.conf is read first, then ~/.config/carbonian/filters.conf; a name defined twice takes the last definition. At most 24 filters exist, the built-in ones included. The names off, next, toggle and reload cannot be defined.
The built-in filters, which can be redefined except off (the colours as they are):
filter grayscale 0.2126 0.7152 0.0722 0.2126 0.7152 0.0722 0.2126 0.7152 0.0722 filter eink 0.1701 0.5722 0.0578 0.1701 0.5722 0.0578 0.1637 0.5507 0.0556 0.100 0.095 0.080 filter sepia 0.291 0.569 0.140 0.258 0.508 0.124 0.201 0.395 0.097 filter invert -1 0 0 0 -1 0 0 0 -1 1 1 1
Use a filter with carbonian-ctl filter NAME or the Filter tile of the quick settings (which goes to the next one); carbonian-ctl filter reload reads the files again. The filter needs Carbonian's wlroots (the GLES2 colour filter patch): without it the answer is unavailable.
/etc/carbonian/filters.conf
~/.config/carbonian/filters.conf
~/.config/carbonian/filter (the filter in use, see
carbonian-state(5))
A dimmer screen, a quarter of the light taken away:
filter dim 0.75 0 0 0 0.75 0 0 0 0.75
carbonian-ctl(1), style.conf(5), carbonian(7)
| October 2026 | Carbonian |