From d6dd93ea5ac74504ae29d00223cbba17879e8d92 Mon Sep 17 00:00:00 2001 From: rope Date: Fri, 21 Aug 2026 16:38:04 +0100 Subject: [PATCH] quickshell: match mono icons by theme dir name, not store path Co-Authored-By: Claude Fable 5 --- settings/quickshell.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/settings/quickshell.nix b/settings/quickshell.nix index ed9fb7c..e655f3c 100644 --- a/settings/quickshell.nix +++ b/settings/quickshell.nix @@ -1318,10 +1318,13 @@ in readonly property string wxFetch: "${wxFetchScript}" readonly property string xdgOpen: "${pkgs.xdg-utils}/bin/xdg-open" readonly property string themeApply: "${themeApply}" - // Prefix of the monochrome app-icon tree. AppIcon tests a - // resolved icon path against this to decide whether it may + // Directory name of the monochrome icon theme. AppIcon tests + // a resolved icon path against this to decide whether it may // be tinted — see the component for why that is not blanket. - readonly property string monoIconDir: "${monoIcons}" + // A name, not the store path: lookups resolve through the + // /run/current-system/sw symlink farm, whose paths never + // contain the store prefix. + readonly property string monoIconDir: "/${baseNameOf monoIcons}/" } ''; };