mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-28 14:14:33 +00:00
ItsDrike
746e79aa30
Run swaybg directly, since using setbg script runs it detached, and while it's possible to just set `RemainAfterExit=true`, this makes things needlessly annoying and confusing.
12 lines
238 B
Desktop File
12 lines
238 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
|
|
|
|
[Install]
|
|
WantedBy=wm-ready.target
|