Instead of adjusting the backlight, this app uses xrandr
to change the brightness of the image displayed on your screen. This can be useful for displays without an adjustable backlight, displays with a too-bright minimum, or too-dark maximum backlight, or OLED displays. Setups with multipe displays (maximum 4 displays) can also be adjusted with different brightness levels.
These dependencies must be present before building:
- gettext
- libgranite-dev
- libgtk-3-dev
- libgee-0.8-dev
- meson
- valac
You can install these by executing the command:
sudo apt install elementary-sdk meson ninja-build libgranite-dev libgee-0.8-dev
meson build --prefix=/usr
cd build
sudo ninja install
# after setting up meson build
cd build
# generates pot file
ninja com.github.watsonprojects.sundown-pot
# to regenerate and propagate changes
ninja com.github.watsonprojects.sundown-update-po