Add mmsg rename tag IPC message

* Add mmsg rename tag IPC message for renaming tags
This commit is contained in:
Emilia Miki 2026-06-30 02:12:44 +03:00
parent ced800910d
commit c72a083bf6
No known key found for this signature in database
GPG key ID: 73695055BC885C2B
4 changed files with 67 additions and 1 deletions

View file

@ -67,6 +67,17 @@ mmsg watch all-monitors
mmsg watch all-tags
```
### RENAME
| Command | Description |
| :--- | :--- |
| `rename tag <index> <name>` | Renames a tag at runtime. Updates the in-memory config, the ext-workspace-v1 protocol name, and notifies all IPC watchers. The name may contain spaces. |
*Example:*
```bash
mmsg rename tag 1 web
mmsg rename tag 2 my projects
```
### DISPATCH
Allows sending commands to the compositor to alter its state.
* `dispatch <func_name>,[args...] [client,<id>]`