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

Add niri overview toggle on launcher button rightclick. (#394)

This commit is contained in:
Body
2025-10-12 12:38:55 +01:00
committed by GitHub
parent 46fd0ae413
commit 50fde1e308
2 changed files with 12 additions and 1 deletions

View File

@@ -485,6 +485,10 @@ Singleton {
return send({"Action": {"DoScreenTransition": {"delay_ms": 0}}})
}
function toggleOverview() {
return send({"Action": {"ToggleOverview": {}}})
}
function switchToWorkspace(workspaceIndex) {
return send({"Action": {"FocusWorkspace": {"reference": {"Index": workspaceIndex}}}})
}