Linux-Tech-Tips/Scripts/plasma-theme-switcher/README.md

10 lines
613 B
Markdown
Raw Normal View History

2024-05-25 12:19:21 +02:00
# Automatically change Plasma theme between dark and light
1. Place timer and service file in the respective user directory $HOME/.config/systemd/user
2. Place the script into a directory and specify the path in the service file.
2024-05-25 14:25:14 +02:00
3. Change time in script if necessary (default is 9:30 p.m. and 6:00 a.m.)
2024-05-27 12:11:44 +02:00
4. Alternatively use the themer-sun.sh script to change themes according to your locations sunrise/sunset and specify location in the script
2024-05-25 15:34:27 +02:00
5. Enable and start the timer:
2024-05-25 12:19:34 +02:00
$ systemctl --user enable themer.timer
2024-05-27 12:11:44 +02:00
$ systemctl --user start themer.timer
6. Optional: add script to autostart to check on login