summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/Hyprland.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/Hyprland.qml b/services/Hyprland.qml
index 2e24989..513d372 100644
--- a/services/Hyprland.qml
+++ b/services/Hyprland.qml
@@ -15,8 +15,6 @@ Singleton {
property HyprlandWorkspace activeWorkspace: null
property HyprlandMonitor focusedMonitor: Hyprland.monitors.values.find(m => m.lastIpcObject.focused) ?? null
- Component.onCompleted: reload()
-
function reload() {
Hyprland.refreshWorkspaces();
Hyprland.refreshMonitors();
@@ -29,6 +27,8 @@ Singleton {
Hyprland.dispatch(request);
}
+ Component.onCompleted: reload()
+
Connections {
target: Hyprland