diff options
Diffstat (limited to 'docs/superpowers/plans/2026-09-12-window-switcher.md')
| -rw-r--r-- | docs/superpowers/plans/2026-09-12-window-switcher.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/superpowers/plans/2026-09-12-window-switcher.md b/docs/superpowers/plans/2026-09-12-window-switcher.md index 79f3be1..f9cc6ef 100644 --- a/docs/superpowers/plans/2026-09-12-window-switcher.md +++ b/docs/superpowers/plans/2026-09-12-window-switcher.md @@ -90,7 +90,10 @@ Scope { id: root property bool open: false - readonly property var screenObj: Quickshell.screens.find(s => s.name === "DP-1") ?? null + property string monitor: "DP-1" + + readonly property var screenObj: + Quickshell.screens.find(s => s.name === root.monitor) ?? Quickshell.screens[0] function toggle() { root.open = !root.open; } function close() { root.open = false; } |
