night_light.sh

Automatic night light script for gnome

Script to adjust night light in gnome

Output looks like this

yr.no is Online.
Sunrise: 06:26 Sunset: 20:21
Cloud cover past 5 minutes: 100%
UV Index past 5 minutes: (1) Low
UV Index is added to Cloud cover
On a inverted scale from 100-0
Calculation: 5750-(100+95)=5555
Current temperature: 5555

Installation

Download and install

wget -qO- https://github.com/tmiland/night_light.sh/raw/main/night_light.sh | bash -s -- -i

Config options

settings

notification

notification

Usage: [options]

--light-enabled     | -le          turn on/off (true/false)
--light-temperature | -lt          show light-temperature
--auto-run          | -ar          auto run
--config            | -c           run config dialog
--install           | -i           install
--uninstall         | -u           uninstall

Compatibility and Requirements

Extra

Credits

Disclaimer

* **Use at own risk ***

License

MIT License Image

MIT License