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

Fix workspace swticher index input

This commit is contained in:
purian23
2025-07-19 22:41:48 -04:00
parent a28764e8f9
commit 2454d707d9

View File

@@ -95,7 +95,7 @@ Rectangle {
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onClicked: {
Quickshell.execDetached(["niri", "msg", "action", "focus-workspace", modelData.toString()]);
Quickshell.execDetached(["niri", "msg", "action", "focus-workspace", (modelData - 1).toString()]);
}
}