Add default Alt-Shift-Tab keybind for PreviousWindow

This commit is contained in:
tokyo4j 2024-12-31 11:02:24 +09:00 committed by Hiroaki Yamamoto
parent 713b1d8a13
commit a93eb84335
4 changed files with 9 additions and 0 deletions

View file

@ -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

View 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

View file

@ -240,6 +240,9 @@
<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>

View 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",