summaryrefslogtreecommitdiff
path: root/bar/ActiveWindow.qml
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-07-13 22:05:17 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-07-13 22:05:17 +0800
commitd32af184c62217c951b973f4f425932284fec5b9 (patch)
tree2d4b1f21a6e6595f87b08861e51a3f4a49948949 /bar/ActiveWindow.qml
parente86931545352387e7a8c5929dee2e9934d042800 (diff)
fixup! activewindow: STOP FUCKN GIVIN THE ERR JEASUS
Diffstat (limited to 'bar/ActiveWindow.qml')
-rw-r--r--bar/ActiveWindow.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/bar/ActiveWindow.qml b/bar/ActiveWindow.qml
index 38021bd..416c10e 100644
--- a/bar/ActiveWindow.qml
+++ b/bar/ActiveWindow.qml
@@ -9,7 +9,7 @@ import qs.config
Item {
id: root
property var toplevel: Hyprland.activeToplevel
- property var icon: Quickshell.iconPath(AppSearch.guessIcon(toplevel?.wayland.appId), "image-missing")
+ property var icon: Quickshell.iconPath(AppSearch.guessIcon(toplevel?.wayland?.appId), "image-missing")
// use IRect
implicitWidth: rowLayout.implicitWidth + General.rectMargin * 2
@@ -34,7 +34,7 @@ Item {
// TOOD: if not exist, use lazyloader or something hide this
// TODO: use IText
font.pixelSize: General.fontSize
- text: root?.toplevel?.title
+ text: root?.toplevel?.title || ""
}
}
}