Small utility to schedule theme change between light and dark theme. It checks the local time and based on if the sun is out or down it will change the theme to the preselected light or dark respectively.
- Gnome Environment (has been tested on ubuntu 22)
- Python installed and running (tested on python3.11)
- Install pyinstaller
Open config.ini
and configure it with your city/country details and your preferred light and dark theme.
If you want to test the theme switch without waiting for the next sunrise/sunset you can set the force_theme
to light/dark based on your preference.
clone repository locally and run:
make
copy your local config to the desired directory by running:
make copy_config
To cleanup do:
make cleanup
Todo
The utitly places its logs in the /var/log/gnome-theme-switcher.log
file