]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Add default Alt-Shift-Tab keybind for PreviousWindow
authortokyo4j <hrak1529@gmail.com>
Tue, 31 Dec 2024 02:02:24 +0000 (11:02 +0900)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Fri, 3 Jan 2025 01:51:26 +0000 (10:51 +0900)
README.md
docs/labwc-config.5.scd
docs/rc.xml.all
include/config/default-bindings.h

index b6daa2f9d0262ae90e349ae4715d8475b9c7d71c..9aff6c036730fe2b3a054198adf51c5ceb637b90 100644 (file)
--- a/README.md
+++ b/README.md
@@ -225,6 +225,7 @@ If you have not created an rc.xml config file, default bindings will be:
 | combination              | action
 | ------------------------ | ------
 | `alt`-`tab`              | activate next window
+| `alt`-`shift`-`tab`      | activate previous window
 | `super`-`return`         | alacritty
 | `alt`-`F3`               | bemenu
 | `alt`-`F4`               | close window
index 4e41d57fb7911af60b85b7ae3eccac5b1cf16bfb..e01656b26dbe067f674f787bd4c985f66a3f2c37 100644 (file)
@@ -657,12 +657,14 @@ extending outward from the snapped edge.
 
 ```
   A-Tab - next window
+  A-S-Tab - previous window
   W-Return - alacritty
   A-F3 - run bemenu
   A-F4 - close window
   W-a - toggle maximize
   A-<arrow> - move window to edge
   W-<arrow> - resize window to fill half the output
+  A-Space - show window menu
 ```
 
        Audio and MonBrightness keys are also bound to amixer and
index ee7b111ef6fe15596ebc39def2b3a4f103525832..4c872e243d7d95ef53aa357524143d4db0f99a3c 100644 (file)
     <keybind key="A-Tab">
       <action name="NextWindow" />
     </keybind>
+    <keybind key="A-S-Tab">
+      <action name="PreviousWindow" />
+    </keybind>
     <keybind key="W-Return">
       <action name="Execute" command="alacritty" />
     </keybind>
index d901d9fa79d5f97647f80af92bb0214e1a9d2aec..03f8a367e303306864d3468fb92689456124aaba 100644 (file)
@@ -12,6 +12,9 @@ static struct key_combos {
 } key_combos[] = { {
                .binding = "A-Tab",
                .action = "NextWindow",
+       }, {
+               .binding = "A-S-Tab",
+               .action = "PreviousWindow",
        }, {
                .binding = "W-Return",
                .action = "Execute",