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:
parent
695e51beef
commit
d6dd93ea5a
1 changed files with 6 additions and 3 deletions
|
|
@ -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}/"
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue