Skip to content

Commit 96b8317

Browse files
committed
fix: add fallback text to title widget
1 parent 18f387f commit 96b8317

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dots/config/quickshell/Widgets/WindowTitleWidget.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Column {
1515
width: Math.min(implicitWidth, 650)
1616
elide: Text.ElideRight
1717
verticalAlignment: Text.AlignVCenter
18-
text: HyprlandService.activeWindow.title
18+
text: HyprlandService.activeWindow.title || "Desktop"
1919
color: colors.on_surface
2020
font.bold: true
2121
}
@@ -24,7 +24,7 @@ Column {
2424
width: Math.min(implicitWidth, 650)
2525
elide: Text.ElideRight
2626
verticalAlignment: Text.AlignVCenter
27-
text: HyprlandService.activeWindow.class
27+
text: HyprlandService.activeWindow.class || "No programs running"
2828
color: colors.outline
2929
font.bold: true
3030
}

0 commit comments

Comments
 (0)