mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Workspace fix (veeeeery sure it is fixed)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user