quickshell: match mono icons by theme dir name, not store path

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-08-21 16:38:04 +01:00
parent 695e51beef
commit d6dd93ea5a

View file

@ -1318,10 +1318,13 @@ in
readonly property string wxFetch: "${wxFetchScript}" readonly property string wxFetch: "${wxFetchScript}"
readonly property string xdgOpen: "${pkgs.xdg-utils}/bin/xdg-open" readonly property string xdgOpen: "${pkgs.xdg-utils}/bin/xdg-open"
readonly property string themeApply: "${themeApply}" readonly property string themeApply: "${themeApply}"
// Prefix of the monochrome app-icon tree. AppIcon tests a // Directory name of the monochrome icon theme. AppIcon tests
// resolved icon path against this to decide whether it may // a resolved icon path against this to decide whether it may
// be tinted see the component for why that is not blanket. // 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}/"
} }
''; '';
}; };