From ab8aea8a55d0b242e9146b22ff79687688bf3a71 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 5 Feb 2020 08:20:28 +0100 Subject: [PATCH] wallpaper: make awesome trigger a reload of the wallpaper on start That's because we also want to update the wallpaper on xrandr changes. --- rc.lua | 1 + systemd/graphical-session@.target | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.lua b/rc.lua index 4304f68..4c61a72 100644 --- a/rc.lua +++ b/rc.lua @@ -43,6 +43,7 @@ os.execute("mkdir -p " .. awful.util.getdir("cache")) -- Setup xsettings os.execute("~/.config/awesome/bin/xsettingsd-setup") +os.execute("systemctl --user start --no-block wallpaper@$(systemd-escape -- ${DISPLAY%.0})") -- Global configuration modkey = "Mod4" diff --git a/systemd/graphical-session@.target b/systemd/graphical-session@.target index e5c1d6e..31a2f11 100644 --- a/systemd/graphical-session@.target +++ b/systemd/graphical-session@.target @@ -9,7 +9,6 @@ Wants=misc-x@%i.service Wants=nm-applet@%i.service Wants=policykit-agent@%i.service Wants=redshift@%i.service -Wants=wallpaper@%i.service Wants=wallpaper@%i.timer Wants=xiccd@%i.service Wants=xsettingsd@%i.service