1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

simplify hyprland

This commit is contained in:
bbedward
2025-08-22 14:08:52 -04:00
parent 586cc61b0e
commit d7c98e73c8
2 changed files with 8 additions and 53 deletions

View File

@@ -188,7 +188,7 @@ Rectangle {
if (CompositorService.isNiri) {
NiriService.switchToWorkspace(modelData - 1)
} else if (CompositorService.isHyprland) {
HyprlandService.switchToWorkspace(modelData)
Hyprland.dispatch(`workspace ${modelData}`)
}
}
}