mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-07-06 00:06:43 -04:00
Add mmsg rename tag IPC message
* Add mmsg rename tag IPC message for renaming tags
This commit is contained in:
parent
ced800910d
commit
c72a083bf6
4 changed files with 67 additions and 1 deletions
11
docs/ipc.md
11
docs/ipc.md
|
|
@ -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>]`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue