mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-19 14:33:16 -04:00
feat: add smartkillclient dispatcher
Add a smartkillclient bind function that removes the focused client from the currently viewed tag(s) when it lives on more than one tag, and only falls back to closing it (killclient behaviour) when it is on a single tag, or when removing the viewed tag(s) would leave it on none.
This commit is contained in:
parent
adc1239075
commit
e4c74de7df
4 changed files with 24 additions and 0 deletions
|
|
@ -89,6 +89,7 @@ bindr=Super,Super_L,spawn,rofi -show run
|
|||
| Command | Param | Description |
|
||||
| :--- | :--- | :--- |
|
||||
| `killclient` | `force` | Close the focused window. If `force` is specified, sends `SIGKILL`. |
|
||||
| `smartkillclient` | - | Remove the focused window from the current tag(s) if it is on multiple tags; otherwise close it. |
|
||||
| `togglefloating` | - | Toggle floating state. |
|
||||
| `toggle_all_floating` | - | Toggle all visible clients floating state. |
|
||||
| `togglefullscreen` | - | Toggle fullscreen. |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue