Skip to content

Commit 1a667c9

Browse files
committed
fix(simple-bar): fix focused window title
qml-niri changed the way focused window properties are exposed in [1], and I forgot to update the `simple-bar` example. [1]: imiric/qml-niri@7694e28
1 parent 782b4e1 commit 1a667c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simple-bar/modules/bar/Bar.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ PanelWindow {
3333
}
3434

3535
Text {
36-
text: niri.focusedWindowTitle
36+
text: niri.focusedWindow?.title ?? ""
3737
font.family: "Barlow Medium"
3838
font.pixelSize: 16
3939
color: "#999999"

0 commit comments

Comments
 (0)