1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

niri: connect directly to socket rather than running commands

This commit is contained in:
bbedward
2025-08-07 15:52:02 -04:00
parent fc13ed5c3a
commit 3dae0ec5e3
4 changed files with 191 additions and 273 deletions

View File

@@ -121,7 +121,7 @@ Rectangle {
enabled: !isPlaceholder
onClicked: {
if (!isPlaceholder)
Quickshell.execDetached(["niri", "msg", "action", "focus-workspace", (modelData - 1).toString()]);
NiriService.switchToWorkspace(modelData - 1);
}
}