Add default keybind super-d for ToggleShowDesktop

This commit is contained in:
Johan Malm 2026-05-25 14:26:53 +01:00 committed by Consolatis
parent bce14a5ad7
commit 151acae28a
4 changed files with 8 additions and 0 deletions

View file

@ -213,6 +213,7 @@ If you have not created an rc.xml config file, default bindings will be:
| `super`-`return` | lab-sensible-terminal | `super`-`return` | lab-sensible-terminal
| `alt`-`F4` | close window | `alt`-`F4` | close window
| `super`-`a` | toggle maximize | `super`-`a` | toggle maximize
| `super`-`d` | toggle show-desktop
| `super`-`mouse-left` | move window | `super`-`mouse-left` | move window
| `super`-`mouse-right` | resize window | `super`-`mouse-right` | resize window
| `super`-`arrow` | resize window to fill half the output | `super`-`arrow` | resize window to fill half the output

View file

@ -863,6 +863,7 @@ overrideInhibition="">*
W-Return - lab-sensible-terminal W-Return - lab-sensible-terminal
A-F4 - close window A-F4 - close window
W-a - toggle maximize W-a - toggle maximize
W-d - toggle show-desktop
W-<arrow> - resize window to fill half or quarter of the output W-<arrow> - resize window to fill half or quarter of the output
A-Space - show window menu A-Space - show window menu
``` ```

View file

@ -279,6 +279,9 @@
<keybind key="W-a"> <keybind key="W-a">
<action name="ToggleMaximize" /> <action name="ToggleMaximize" />
</keybind> </keybind>
<keybind key="W-d">
<action name="ToggleShowDesktop" />
</keybind>
<keybind key="W-Left"> <keybind key="W-Left">
<action name="SnapToEdge" direction="left" combine="yes" /> <action name="SnapToEdge" direction="left" combine="yes" />
</keybind> </keybind>

View file

@ -28,6 +28,9 @@ static struct key_combos {
}, { }, {
.binding = "W-a", .binding = "W-a",
.action = "ToggleMaximize", .action = "ToggleMaximize",
}, {
.binding = "W-d",
.action = "ToggleShowDesktop",
}, { }, {
.binding = "W-Left", .binding = "W-Left",
.action = "SnapToEdge", .action = "SnapToEdge",