mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-05-15 08:42:47 -04:00
@@ -267,10 +267,10 @@ Item {
|
||||
|
||||
if (nextIndex !== validIndex) {
|
||||
const nextWorkspace = realWorkspaces[nextIndex];
|
||||
if (!nextWorkspace || nextWorkspace.idx === undefined) {
|
||||
if (!nextWorkspace || nextWorkspace.id === undefined) {
|
||||
return;
|
||||
}
|
||||
NiriService.switchToWorkspace(nextWorkspace.idx);
|
||||
NiriService.switchToWorkspace(nextWorkspace.id);
|
||||
}
|
||||
} else if (CompositorService.isHyprland) {
|
||||
const currentWs = getCurrentWorkspace();
|
||||
|
||||
Reference in New Issue
Block a user