diff --git a/settings/hyprland.nix b/settings/hyprland.nix index aec0dd0..e29bf4d 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -556,6 +556,7 @@ in onChange = qsRestart; text = '' //@ pragma UseQApplication + //@ pragma IconTheme Papirus-Dark import Quickshell import Quickshell.Services.Notifications import QtQuick @@ -1501,7 +1502,11 @@ in } property string appIconName: modelData.properties["application.icon-name"] || "" - property string appIconPath: appIconName !== "" ? (Quickshell.iconPath(appIconName) || "") : "" + property string appIconPath: { + if (appIconName === "") return ""; + let p = Quickshell.iconPath(appIconName); + return p ? "file://" + p : ""; + } Row { width: parent.width