wallpaper: use -root with hsetroot

Newer version requires that.
This commit is contained in:
Vincent Bernat 2021-08-29 18:12:12 +02:00
parent 6b6f066231
commit aea0e046bc

View file

@ -8,6 +8,6 @@ Environment=WALLPAPER_OUTPUT=%h/.cache/i3/current-wallpaper.png
ExecStart=/usr/bin/mkdir -p %h/.cache/i3
ExecStart=%h/.config/i3/bin/wallpaper --directory $WALLPAPER_DIRECTORY \
--target $WALLPAPER_OUTPUT
ExecStart=/usr/bin/hsetroot -center $WALLPAPER_OUTPUT
ExecStart=/usr/bin/hsetroot -root -center $WALLPAPER_OUTPUT
Type=oneshot
RemainAfterExit=false