From 9067a68703ecdef466161dcf13250fa2e0a824cc Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Tue, 29 Jul 2025 13:37:26 +0200 Subject: [PATCH] Workspace fix (veeeeery sure it is fixed) --- Services/WorkspaceManager.qml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Services/WorkspaceManager.qml b/Services/WorkspaceManager.qml index b5dc29c..5df82e3 100644 --- a/Services/WorkspaceManager.qml +++ b/Services/WorkspaceManager.qml @@ -50,10 +50,11 @@ Singleton { // Initialize Hyprland integration function initHyprland() { - try { + try { + // Fixes the odd workspace issue. Hyprland.refreshWorkspaces(); - hlWorkspaces = Hyprland.workspaces.values; - updateHyprlandWorkspaces(); + // hlWorkspaces = Hyprland.workspaces.values; + // updateHyprlandWorkspaces(); return true; } catch (e) { console.error("Error initializing Hyprland:", e); @@ -149,4 +150,4 @@ Singleton { console.warn("No supported compositor detected for workspace switching"); } } -} +} \ No newline at end of file