Update README.md

This commit is contained in:
dataprolet 2024-05-27 14:38:59 +00:00
parent 2dc7143b41
commit fba0f3d622
1 changed files with 7 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# Plasma Theme Switcher # Plasma Theme Switcher
## Description ## 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. This is a simple script that changes the Plasma Breeze theme according to a custom time or according to your location's 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. The default is changing the theme to dark at 9:30 p.m. and back to light at 6:30 a.m.
## Installation ## Installation
@ -14,14 +14,15 @@ $ cd plasma-theme-switcher
$ sh installer.sh $ sh installer.sh
``` ```
- Change the service file to specifiy which script to use. ### Optional:
- Change the service file to specify which script to use.
- Change either script to a custom time or custom location. - Change either script to a custom time or custom location.
### Install manually ### Install manually
1. Place timer and service file in the respective user directory ~/.config/systemd/user 1. Place the timer and service file in the respective user directory _~/.config/systemd/user_
2. Place the script into a directory and specify the path in the service file 2. Place the script into a directory and specify the path in the service file
3. Change time in script if necessary (default is 9:30 p.m. and 6:00 a.m.) 3. Change the time in the script if necessary (the default is 9:30 p.m. and 6:00 a.m.)
4. Alternatively use the themer-sun.sh script to change themes according to your locations sunrise/sunset and specify location in the script 4. Alternatively use the `theme-switcher-sun.sh` script to change the theme according to your location's sunrise/sunset and specify a location in the script
5. Enable and start the timer: 5. Enable and start the timer:
``` ```
$ systemctl --user enable theme-switcher.timer $ systemctl --user enable theme-switcher.timer