From 558537d3aad1cdf16191b6b0c27ab123d269bcaf Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Mon, 25 May 2026 14:26:53 +0100 Subject: [PATCH] Add default keybind super-d for ToggleShowDesktop --- README.md | 1 + docs/labwc-config.5.scd | 1 + docs/rc.xml.all | 3 +++ include/config/default-bindings.h | 3 +++ 4 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 9cc81e88..80796af7 100644 --- a/README.md +++ b/README.md @@ -213,6 +213,7 @@ If you have not created an rc.xml config file, default bindings will be: | `super`-`return` | lab-sensible-terminal | `alt`-`F4` | close window | `super`-`a` | toggle maximize +| `super`-`d` | toggle show-desktop | `super`-`mouse-left` | move window | `super`-`mouse-right` | resize window | `super`-`arrow` | resize window to fill half the output diff --git a/docs/labwc-config.5.scd b/docs/labwc-config.5.scd index 5691a4e1..6a16b89c 100644 --- a/docs/labwc-config.5.scd +++ b/docs/labwc-config.5.scd @@ -863,6 +863,7 @@ overrideInhibition="">* W-Return - lab-sensible-terminal A-F4 - close window W-a - toggle maximize + W-d - toggle show-desktop W- - resize window to fill half or quarter of the output A-Space - show window menu ``` diff --git a/docs/rc.xml.all b/docs/rc.xml.all index 2d787cfa..350d2ea0 100644 --- a/docs/rc.xml.all +++ b/docs/rc.xml.all @@ -279,6 +279,9 @@ + + + diff --git a/include/config/default-bindings.h b/include/config/default-bindings.h index 788e8d2e..d1a96562 100644 --- a/include/config/default-bindings.h +++ b/include/config/default-bindings.h @@ -28,6 +28,9 @@ static struct key_combos { }, { .binding = "W-a", .action = "ToggleMaximize", + }, { + .binding = "W-d", + .action = "ToggleShowDesktop", }, { .binding = "W-Left", .action = "SnapToEdge",