diff options
Diffstat (limited to 'services')
| -rw-r--r-- | services/Hypr.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/Hypr.qml b/services/Hypr.qml index 3a3d5e4..d4782dc 100644 --- a/services/Hypr.qml +++ b/services/Hypr.qml @@ -11,9 +11,11 @@ Singleton { readonly property var toplevels: Hyprland.toplevels readonly property var workspaces: Hyprland.workspaces readonly property var monitors: Hyprland.monitors - readonly property HyprlandToplevel activeToplevel: Hyprland.activeToplevel + + readonly property HyprlandToplevel activeToplevel: Hyprland.activeToplevel?.wayland?.activated ? Hyprland.activeToplevel : null 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: "?" |