Varies screen brightness according to sunrise/sunset times.
Supports Windows and Linux computers. Recommended for desktop PCs where you don't have an ambient light sensor to automatically adjust display brightness.
How is this different to f.lux or similar Night Mode programs?
This changes the monitor screen brightness via monitor control APIs, whereas those utilities vary the colour tone of the display.
- An icon will appear in your tray when it is running.
- Click on the icon to launch the console window.
- Go into "Edit Configuration" and set:
- Daytime and Nighttime brightness percentages.
- Transition time (the time it takes to switch between the two brightness values at either sunset or sunrise).
- Your location (either manually enter coordinates, or use "Find Location" to search online).
- Click save and this configuration will be applied and persisted to disk.
- You can close the console, and it will continue to update your brightness in the background.
(Note there are some more advanced options available via the CLI interface,
try calling solar_screen_brightness --help
)
Pre compiled binaries available in Releases.
Steps for compiling yourself are below.
NOTE: If you are on Linux please read the Linux Guide.
- Per monitor/device brightness settings.
- macOS Support.
- Install rust using rustup (ensure you have version 1.56 or newer when on Linux)
- Download and install CMake
- Download and install Visual Studio with the C++ Build Tools.
sudo apt update
sudo apt install -y cmake gcc qtbase5-dev libudev-dev
sudo yum install -y cmake gcc qt5-qtbase-devel libudev-devel
sudo ln -s /usr/bin/qmake-qt5 /usr/bin/qmake
cd installer && cargo run --release -- install