1
0
Fork 0
mirror of https://github.com/ItsDrike/dotfiles.git synced 2025-02-19 10:09:03 +00:00
dotfiles/home/.config/systemd/user/wallpaper.service

12 lines
252 B
Desktop File

[Unit]
Description="Wallpaper setter"
PartOf=graphical-session.target
[Service]
Environment=WALLPAPER_IMAGE=%h/.local/share/background
ExecStart=/usr/bin/swaybg --image $WALLPAPER_IMAGE
Restart=always
RestartSec=3s
[Install]
WantedBy=wm-ready.target