diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2026-03-05 09:02:49 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2026-03-05 09:02:49 +0100 |
| commit | 445f6c2ee0a9a21d4de94dff621279887caa25a4 (patch) | |
| tree | 1d6849968f59a4a61d71e68682f4473f0a701c27 /accounts/gkleen@sif/shell/quickshell/ActiveWindowDisplay.qml | |
| parent | a51282674852f1fb452ce6eb11e14b34064cc839 (diff) | |
| download | nixos-445f6c2ee0a9a21d4de94dff621279887caa25a4.tar nixos-445f6c2ee0a9a21d4de94dff621279887caa25a4.tar.gz nixos-445f6c2ee0a9a21d4de94dff621279887caa25a4.tar.bz2 nixos-445f6c2ee0a9a21d4de94dff621279887caa25a4.tar.xz nixos-445f6c2ee0a9a21d4de94dff621279887caa25a4.zip | |
...
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/ActiveWindowDisplay.qml')
| -rw-r--r-- | accounts/gkleen@sif/shell/quickshell/ActiveWindowDisplay.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/ActiveWindowDisplay.qml b/accounts/gkleen@sif/shell/quickshell/ActiveWindowDisplay.qml index dcc23279..ac1cbf3a 100644 --- a/accounts/gkleen@sif/shell/quickshell/ActiveWindowDisplay.qml +++ b/accounts/gkleen@sif/shell/quickshell/ActiveWindowDisplay.qml | |||
| @@ -11,7 +11,7 @@ Item { | |||
| 11 | 11 | ||
| 12 | property var activeWindow: { | 12 | property var activeWindow: { |
| 13 | let currWindowId = Array.from(NiriService.workspaces).find(ws => { | 13 | let currWindowId = Array.from(NiriService.workspaces).find(ws => { |
| 14 | return ws.output === screen.name && ws.is_active; | 14 | return ws.output === screen?.name && ws.is_active; |
| 15 | })?.active_window_id; | 15 | })?.active_window_id; |
| 16 | 16 | ||
| 17 | return currWindowId ? Array.from(NiriService.windows).find(win => win.id == currWindowId) : null; | 17 | return currWindowId ? Array.from(NiriService.windows).find(win => win.id == currWindowId) : null; |
