From f7b0e4665b223d86045110ff3d4704c1a7760a4d Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 28 Apr 2025 11:01:48 +1000 Subject: format: conform to qml coding conventions --- services/Hyprland.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'services') 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 -- cgit v1.2.3-freya