wallpaper: make awesome trigger a reload of the wallpaper on start

That's because we also want to update the wallpaper on xrandr changes.
This commit is contained in:
Vincent Bernat 2020-02-05 08:20:28 +01:00
parent a528e2f242
commit ab8aea8a55
2 changed files with 1 additions and 1 deletions

1
rc.lua
View file

@ -43,6 +43,7 @@ os.execute("mkdir -p " .. awful.util.getdir("cache"))
-- Setup xsettings -- Setup xsettings
os.execute("~/.config/awesome/bin/xsettingsd-setup") os.execute("~/.config/awesome/bin/xsettingsd-setup")
os.execute("systemctl --user start --no-block wallpaper@$(systemd-escape -- ${DISPLAY%.0})")
-- Global configuration -- Global configuration
modkey = "Mod4" modkey = "Mod4"

View file

@ -9,7 +9,6 @@ Wants=misc-x@%i.service
Wants=nm-applet@%i.service Wants=nm-applet@%i.service
Wants=policykit-agent@%i.service Wants=policykit-agent@%i.service
Wants=redshift@%i.service Wants=redshift@%i.service
Wants=wallpaper@%i.service
Wants=wallpaper@%i.timer Wants=wallpaper@%i.timer
Wants=xiccd@%i.service Wants=xiccd@%i.service
Wants=xsettingsd@%i.service Wants=xsettingsd@%i.service