aecfb9bd93 | ||
---|---|---|
LICENSE | ||
README.md | ||
installer.sh | ||
theme-switcher-sun.sh | ||
theme-switcher.service | ||
theme-switcher.sh | ||
theme-switcher.timer |
README.md
Plasma Theme Switcher
Description
This is a simple script that changes the Plasma theme according to a custom time or according to your locations sunrise/sunset using a systemd timer.
Default is changing theme to dark at 9:30 p.m. and back to Light at 6:30 a.m.
Installation
Use the installer.sh script to set up automatically
$ git clone https://gitlab.com/dataprolet/plasma-theme-switcher
$ cd plasma-theme-switcher
$ sh installer.sh
- Change the service file to specifiy which script to use.
- Change either script to a custom time or custom location.
Install manually
- Place timer and service file in the respective user directory ~/.config/systemd/user
- Place the script into a directory and specify the path in the service file
- Change time in script if necessary (default is 9:30 p.m. and 6:00 a.m.)
- Alternatively use the themer-sun.sh script to change themes according to your locations sunrise/sunset and specify location in the script
- Enable and start the timer:
$ systemctl --user enable theme-switcher.timer
$ systemctl --user start theme-switcher.timer