wallpaperctl/etc/systemd/user/wallpaperctl.service

13 lines
315 B
SYSTEMD
Raw Permalink Normal View History

[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