Updated docs/bindings/keys.md to include the chvt and focusid dispatchers.

This commit is contained in:
SDGDen 2026-06-18 13:28:09 +02:00 committed by DreamMaoMao
parent 915f71ff97
commit 2e6db9a35f

View file

@ -106,6 +106,7 @@ bindr=Super,Super_L,spawn,rofi -show run
| Command | Param | Description | | Command | Param | Description |
| :--- | :--- | :--- | | :--- | :--- | :--- |
| `focusid` | - | Focus window (can target any window via IPC: `mmsg dispatch focusid client,<id>`) |
| `focusdir` | `left/right/up/down` | Focus window in direction. | | `focusdir` | `left/right/up/down` | Focus window in direction. |
| `focusstack` | `next/prev` | Cycle focus within the stack. | | `focusstack` | `next/prev` | Cycle focus within the stack. |
| `focuslast` | - | Focus the previously active window. | | `focuslast` | - | Focus the previously active window. |
@ -172,6 +173,8 @@ bindr=Super,Super_L,spawn,rofi -show run
| `disable_monitor` | `monitor_spec` | Shutdown monitor. Accepts a [monitor spec](/docs/configuration/monitors#monitor-spec-format). | | `disable_monitor` | `monitor_spec` | Shutdown monitor. Accepts a [monitor spec](/docs/configuration/monitors#monitor-spec-format). |
| `enable_monitor` | `monitor_spec` | Power on monitor. Accepts a [monitor spec](/docs/configuration/monitors#monitor-spec-format). | | `enable_monitor` | `monitor_spec` | Power on monitor. Accepts a [monitor spec](/docs/configuration/monitors#monitor-spec-format). |
| `toggle_monitor` | `monitor_spec` | Toggle monitor power. Accepts a [monitor spec](/docs/configuration/monitors#monitor-spec-format). | | `toggle_monitor` | `monitor_spec` | Toggle monitor power. Accepts a [monitor spec](/docs/configuration/monitors#monitor-spec-format). |
| `chvt` | `1-9` | Change virtual terminal (tty, equivalent to using ctrl+alt+Fkeys) |
### Media Controls ### Media Controls