diff --git a/settings/hyprland.nix b/settings/hyprland.nix index c258790..2ac91f4 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -556,7 +556,6 @@ in onChange = qsRestart; text = '' //@ pragma UseQApplication - //@ pragma IconTheme Papirus-Dark import Quickshell import Quickshell.Services.Notifications import QtQuick @@ -1501,47 +1500,13 @@ in objects: [modelData] } - property string appIconName: modelData.properties["application.icon-name"] || "" - property string appIconPath: { - if (appIconName === "") return ""; - let p = Quickshell.iconPath(appIconName); - return p || ""; - } - - Row { + Text { + text: modelData.properties["application.name"] || modelData.name || "Unknown" + color: Theme.base04 + font.family: "FiraMono Nerd Font" + font.pixelSize: 11 + elide: Text.ElideRight width: parent.width - spacing: 6 - - Item { - width: 14 - height: 14 - anchors.verticalCenter: parent.verticalCenter - visible: appIconPath !== "" - - Image { - id: appStreamIcon - anchors.fill: parent - source: appIconPath - sourceSize.width: 14 - sourceSize.height: 14 - smooth: true - visible: false - } - ColorOverlay { - anchors.fill: appStreamIcon - source: appStreamIcon - color: Theme.base05 - } - } - - Text { - text: modelData.properties["application.name"] || modelData.name || "Unknown" - color: Theme.base04 - font.family: "FiraMono Nerd Font" - font.pixelSize: 11 - elide: Text.ElideRight - width: parent.width - (appIconPath !== "" ? 20 : 0) - } } Row {