From 34234ab9e9165088f720cb2e7de34ffaf04bbb0c Mon Sep 17 00:00:00 2001 From: rope Date: Mon, 27 Jul 2026 12:59:16 +0100 Subject: [PATCH] quickshell: cache:false on wallpaper images (stale after soft reload) Co-Authored-By: Claude Fable 5 --- settings/quickshell.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/settings/quickshell.nix b/settings/quickshell.nix index 64c22e5..a5ff2fe 100644 --- a/settings/quickshell.nix +++ b/settings/quickshell.nix @@ -262,6 +262,10 @@ in id: wall anchors.fill: parent source: "file://" + Quickshell.env("HOME") + "/.local/share/backgrounds/wallpaper.png" + // cache:false — soft reload (qs ipc reload) keeps the process + // alive, and the QML pixmap cache is keyed by URL, so a new + // wallpaper behind the same path never shows without this. + cache: false fillMode: Image.PreserveAspectCrop visible: false } @@ -539,6 +543,7 @@ in Image { anchors.fill: parent source: "file://" + Quickshell.env("HOME") + "/.local/share/backgrounds/wallpaper.png" + cache: false // same-URL pixmap cache survives soft reload fillMode: Image.PreserveAspectCrop } }