wallpaperctl/etc/systemd/user/wallpaperctl.service

13 lines
315 B
Desktop File

[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