feat(wm): lock

Containers can be locked since the model came in, and a locked container keeps
its index while others are inserted, removed or swapped around it; nothing could
lock one. `komorebic toggle-lock` locks the focused container, or unlocks it,
and the `LockMonitorWorkspaceContainer` and `UnlockMonitorWorkspaceContainer`
messages lock and unlock a container by the index of its monitor, its workspace
and itself, for a program such as a status bar.

The vm-commands sweep locks and unlocks a container.
This commit is contained in:
LGUG2Z committed 2026-10-28 07:20:37 -07:00
1 parent 062fe57fac
commit 3cc5dceb7d
11 files changed
+325 -6

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
```text
Toggle a lock for the focused container, ensuring it will not be displaced by any new windows
Usage: toggle-lock
Options:
-h, --help
Print help
```