Merge branch 'Ly-sec:main' into main

This commit is contained in:
Jose Chasey Pratama 2025-07-30 14:09:23 +07:00 committed by GitHub
commit cb9cb0f4e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 167 additions and 87 deletions

View file

@ -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");
}
}
}
}