mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-11-15 06:59:52 -05:00
apply rotatetags patch
This commit is contained in:
parent
325145d4c6
commit
184340c86c
2 changed files with 41 additions and 1 deletions
13
config.def.h
13
config.def.h
|
|
@ -13,6 +13,13 @@ static const float urgentcolor[] = COLOR(0xff0000ff);
|
|||
/* To conform the xdg-protocol, set the alpha to zero to restore the old behavior */
|
||||
static const float fullscreen_bg[] = {0.1, 0.1, 0.1, 1.0}; /* You can also use glsl colors */
|
||||
|
||||
enum {
|
||||
VIEW_L = -1,
|
||||
VIEW_R = 1,
|
||||
SHIFT_L = -2,
|
||||
SHIFT_R = 2,
|
||||
} RotateTags;
|
||||
|
||||
/* tagging - TAGCOUNT must be no greater than 31 */
|
||||
#define TAGCOUNT (9)
|
||||
|
||||
|
|
@ -124,7 +131,11 @@ static const Key keys[] = {
|
|||
{ MODKEY, XKB_KEY_j, focusstack, {.i = +1} },
|
||||
{ MODKEY, XKB_KEY_k, focusstack, {.i = -1} },
|
||||
{ MODKEY, XKB_KEY_i, incnmaster, {.i = +1} },
|
||||
{ MODKEY, XKB_KEY_d, incnmaster, {.i = -1} },
|
||||
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_i, incnmaster, {.i = -1} },
|
||||
{ MODKEY, XKB_KEY_a, rotatetags, {.i = VIEW_L} },
|
||||
{ MODKEY, XKB_KEY_d, rotatetags, {.i = VIEW_R} },
|
||||
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_a, rotatetags, {.i = SHIFT_L} },
|
||||
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_d, rotatetags, {.i = SHIFT_R} },
|
||||
{ MODKEY, XKB_KEY_h, setmfact, {.f = -0.05} },
|
||||
{ MODKEY, XKB_KEY_l, setmfact, {.f = +0.05} },
|
||||
{ MODKEY, XKB_KEY_Return, zoom, {0} },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue