diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 20:35:21 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 20:35:21 +1000 |
| commit | 61884c07a71ddc4c7110acde243f3b12f217de2b (patch) | |
| tree | b1468e2550d138d8589487a7d7f8a381da97f87f | |
| parent | internal: cleanup (diff) | |
| download | caelestia-shell-61884c07a71ddc4c7110acde243f3b12f217de2b.tar.gz caelestia-shell-61884c07a71ddc4c7110acde243f3b12f217de2b.tar.bz2 caelestia-shell-61884c07a71ddc4c7110acde243f3b12f217de2b.zip | |
Revert "hyprland: fix active client on empty ws"
This reverts commit a8151fc89d9a7977e5fa5dd3dfbed17c8f6101a1.
| -rw-r--r-- | services/Hypr.qml | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/services/Hypr.qml b/services/Hypr.qml index 249f5ae..3a3d5e4 100644 --- a/services/Hypr.qml +++ b/services/Hypr.qml @@ -11,16 +11,9 @@ Singleton { readonly property var toplevels: Hyprland.toplevels readonly property var workspaces: Hyprland.workspaces readonly property var monitors: Hyprland.monitors - - readonly property HyprlandToplevel activeToplevel: { - const t = Hyprland.activeToplevel; - if (t?.workspace?.focused || t?.workspace?.name.startsWith("special:")) - return t; - return null; - } + readonly property HyprlandToplevel activeToplevel: Hyprland.activeToplevel readonly property HyprlandWorkspace focusedWorkspace: Hyprland.focusedWorkspace readonly property HyprlandMonitor focusedMonitor: Hyprland.focusedMonitor - readonly property int activeWsId: focusedWorkspace?.id ?? 1 readonly property string kbLayout: kbMap.get(kbLayoutFull) ?? "??" property string kbLayoutFull: "?" |