diff options
Diffstat (limited to 'services')
| -rw-r--r-- | services/Hyprland.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/Hyprland.qml b/services/Hyprland.qml index a366e54..a1f5cbb 100644 --- a/services/Hyprland.qml +++ b/services/Hyprland.qml @@ -13,7 +13,7 @@ Singleton { readonly property var monitors: Hyprland.monitors property Client activeClient: null readonly property HyprlandWorkspace activeWorkspace: focusedMonitor?.activeWorkspace ?? null - readonly property HyprlandMonitor focusedMonitor: Hyprland.monitors.values.find(m => m.lastIpcObject.focused) ?? null + readonly property HyprlandMonitor focusedMonitor: Hyprland.focusedMonitor readonly property int activeWsId: activeWorkspace?.id ?? 1 function reload() { |