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

13 lines
311 B
SYSTEMD
Raw Normal View History

2021-05-13 21:46:12 +00:00
[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