diff options
| author | Fuwn <[email protected]> | 2024-05-23 19:48:07 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-05-23 19:48:07 -0700 |
| commit | 2986224306015d87497cbb6c715695b014dfecdd (patch) | |
| tree | 8e4d8dca025247e1d9b7f2c82f886b250b828628 /config.h | |
| parent | feat(dwm.c): add clientindicators patch + toggle (diff) | |
| download | seiwm-2986224306015d87497cbb6c715695b014dfecdd.tar.xz seiwm-2986224306015d87497cbb6c715695b014dfecdd.zip | |
feat(dwm.c): alt tab patch + horizontal alignment
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -8,6 +8,14 @@ #define BROWSER "vivaldi" #define WMNAME "sei" +/* alt-tab configuration */ +static const unsigned int tabModKey = 0x40; /* if this key is hold the alt-tab functionality stays acitve. This key must be the same as key that is used to active functin altTabStart `*/ +static const unsigned int tabCycleKey = 0x17; /* if this key is hit the alt-tab program moves one position forward in clients stack. This key must be the same as key that is used to active functin altTabStart */ +static const unsigned int tabPosY = 1; /* tab position on Y axis, 0 = bottom, 1 = center, 2 = top */ +static const unsigned int tabPosX = 1; /* tab position on X axis, 0 = left, 1 = center, 2 = right */ +static const unsigned int maxWTab = 300; /* tab menu width */ +static const unsigned int maxHTab = 100; /* tab menu height */ + /* appearance */ /* followclient: * 1: @@ -170,6 +178,7 @@ static const Key keys[] = { /* { MODKEY|ShiftMask, XK_Escape, spawn, SHCMD("") }, */ { MODKEY, XK_grave, spawn, {.v = (const char*[]){ "rofi", "-modi", "emoji", "-show", "emoji", NULL } } }, /* { MODKEY|ShiftMask, XK_grave, togglescratch, SHCMD("") }, */ + { Mod1Mask, XK_Tab, altTabStart, {0} }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) @@ -188,7 +197,7 @@ static const Key keys[] = { { MODKEY, XK_BackSpace, spawn, {.v = (const char*[]){ "sysact", NULL } } }, { MODKEY|ShiftMask, XK_BackSpace, spawn, {.v = (const char*[]){ "sysact", NULL } } }, - { MODKEY, XK_Tab, view, {0} }, + /* { MODKEY, XK_Tab, view, {0} }, */ /* { MODKEY|ShiftMask, XK_Tab, spawn, SHCMD("") }, */ { MODKEY, XK_q, killclient, {0} }, { MODKEY|ShiftMask, XK_q, spawn, {.v = (const char*[]){ "sysact", NULL } } }, |