refactor: change project name
Change project name from "GNOME Rotate Wallpaper" to "Wallpaperctl".
This commit is contained in:
parent
8bf6a144f6
commit
2d6f745bf9
|
@ -1,12 +0,0 @@
|
|||
[Unit]
|
||||
Description=Rotate GNOME wallpaper
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Environment=DISPLAY=:0
|
||||
Environment=WALLPAPER_DIR=/home/%u/Pictures/wallpaper
|
||||
EnvironmentFile=-/home/%u/.config/systemd/user/gnome-rotate-wallpaper.conf
|
||||
ExecStart=/bin/bash /usr/local/bin/gnome_rotate_wallpaper
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
|
@ -1,10 +0,0 @@
|
|||
[Unit]
|
||||
Description=GNOME rotate wallpaper
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*:0/1
|
||||
Persistent=true
|
||||
Unit=gnome-rotate-wallpaper.service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=Wallpaperctl - Systemd GNOME wallpaper changer
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Environment=DISPLAY=:0
|
||||
Environment=WALLPAPER_DIR=/home/%u/Pictures/wallpaper
|
||||
EnvironmentFile=-/home/%u/.config/systemd/user/wallpaperctl.conf
|
||||
ExecStart=/bin/bash /usr/local/bin/wallpaperctl
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Wallpaperctl - Systemd GNOME wallpaper changer
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*:0/1
|
||||
Persistent=true
|
||||
Unit=wallpaperctl.service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
selection=$(find $WALLPAPER_DIR -type f -name "*.jpg" -o -name "*.png" | shuf -n1)
|
||||
gsettings set org.gnome.desktop.background picture-uri "file://$selection"
|
Loading…
Reference in New Issue