mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-02 05:04:19 +01:00
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:
1 parent
062fe57fac
commit
3cc5dceb7d
11 files changed
+325
-6
No files matched your search
@@ -210,6 +210,7 @@ fn the_layout_subcommands_send_the_layout_axis_or_direction_they_are_given() {
|
||||
);
|
||||
sends(&["toggle-tiling"], r#"{"type":"ToggleTiling"}"#);
|
||||
sends(&["toggle-float"], r#"{"type":"ToggleFloat"}"#);
|
||||
sends(&["toggle-lock"], r#"{"type":"ToggleLock"}"#);
|
||||
sends(
|
||||
&["preselect-direction", "up"],
|
||||
r#"{"type":"PreselectDirection","content":"Up"}"#,
|
||||
@@ -385,6 +386,7 @@ fn docgen_writes_the_help_of_every_subcommand_in_a_text_fence() {
|
||||
"stop.md",
|
||||
"subscribe-socket.md",
|
||||
"toggle-float.md",
|
||||
"toggle-lock.md",
|
||||
"toggle-mouse-follows-focus.md",
|
||||
"toggle-tiling.md",
|
||||
"unsubscribe-socket.md",
|
||||
|
||||
Reference in new issue
Block a user