docs: change project name

This commit is contained in:
Adam 2022-04-10 14:50:17 -06:00
parent 469398a950
commit 605dd390c0
1 changed files with 15 additions and 15 deletions

View File

@ -1,14 +1,14 @@
# Rotate Gnome Wallpaper using Systemd # Wallpaperctl
- **Note:** Adjust paths as applicable to the desired OS. - **Note:** Adjust paths as applicable to the desired OS.
- **Note:** The "$" represents the terminal prompt. - **Note:** The "$" represents the terminal prompt.
- **Note:** Verified to work on Arch Linux with Gnome v3.14. - **Note:** Verified to work on Arch Linux with Gnome v3.14 to v42.
## Installation Instructions ## Installation Instructions
1. Download "gnome-rotate-wallpaper.service", "gnome-rotate-wallpaper.timer" and "gnome_rotate_wallpaper". 1. Download "wallpaperctl.service", "wallpaperctl.timer" and "gnome_rotate_wallpaper".
2. Move the 3 files to where Systemd user files are stored. 2. Move the 3 files to where Systemd user files are stored.
```bash ```bash
$ mv gnome-rotate-wallpaper.service gnome-rotate-wallpaper.timer /etc/systemd/user/ $ mv wallpaperctl.service wallpaperctl.timer /etc/systemd/user/
``` ```
3. Move the BASH script "gnome_rotate_wallpaper". 3. Move the BASH script "gnome_rotate_wallpaper".
```bash ```bash
@ -20,24 +20,24 @@ $ chmod +x /usr/local/bin/gnome_rotate_wallpaper
``` ```
5. Enable the timer. 5. Enable the timer.
```bash ```bash
$ systemctl --user enable gnome-rotate-wallpaper.timer $ systemctl --user enable wallpaperctl.timer
``` ```
6. Verify the timer is enabled. 6. Verify the timer is enabled.
```bash ```bash
$ systemctl --user list-unit-files $ systemctl --user list-unit-files
gnome-rotate-wallpaper.service disabled wallpaperctl.service disabled
gnome-rotate-wallpaper.timer enabled wallpaperctl.timer enabled
2 unit files listed. 2 unit files listed.
``` ```
7. Start the timer. 7. Start the timer.
```bash ```bash
$ systemctl --user start gnome-rotate-wallpaper.timer $ systemctl --user start wallpaperctl.timer
``` ```
8. Verify the timer has been started. 8. Verify the timer has been started.
```bash ```bash
$ systemctl --user list-timers $ systemctl --user list-timers
NEXT LEFT LAST PASSED UNIT ACTIVATES NEXT LEFT LAST PASSED UNIT ACTIVATES
Thu 2016-03-10 18:49:00 CST 1s left Thu 2016-03-10 18:48:56 CST 1s ago gnome-rotate-wallpaper.timer gnome-rotate-wallpaper.service Thu 2016-03-10 18:49:00 CST 1s left Thu 2016-03-10 18:48:56 CST 1s ago wallpaperctl.timer wallpaperctl.service
1 timers listed. 1 timers listed.
Pass --all to see loaded but inactive timers, too. Pass --all to see loaded but inactive timers, too.
``` ```
@ -52,7 +52,7 @@ $ mkdir ~/.config/systemd ~/.config/systemd/user
``` ```
2. Create the configuration file. Replace "username" with applicable value. 2. Create the configuration file. Replace "username" with applicable value.
```bash ```bash
$ nano ~/.config/systemd/user/gnome-rotate-wallpaper.conf $ nano ~/.config/systemd/user/wallpaperctl.conf
``` ```
WALLPAPER_DIR=/home/username/Pictures/wallpaper WALLPAPER_DIR=/home/username/Pictures/wallpaper
@ -67,20 +67,20 @@ $ mkdir ~/.config/systemd ~/.config/systemd/user
``` ```
2. Create the configuration file. 2. Create the configuration file.
```bash ```bash
$ nano ~/.config/systemd/user/gnome-rotate-wallpaper.timer $ nano ~/.config/systemd/user/wallpaperctl.timer
``` ```
``` ```
[Unit] [Unit]
Description=Gnome rotate wallpaper Description=Wallpaperctl - Systemd GNOME wallpaper changer
[Timer] [Timer]
OnCalendar=*:0/1 OnCalendar=*:0/1
Persistent=true Persistent=true
Unit=gnome-rotate-wallpaper.service Unit=wallpaperctl.service
[Install] [Install]
WantedBy=gnome-rotate-wallpaper.service WantedBy=wallpaperctl.service
``` ```
## Available picture-options ## Available picture-options