wallpaperctl/etc/systemd/user/gnome-rotate-wallpaper.service

13 lines
311 B
Desktop File

[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