aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h b/config.h
index 1c41d87..305210a 100644
--- a/config.h
+++ b/config.h
@@ -18,6 +18,10 @@ static const char *colors[][3] = {
[SchemeStatus] = { col_gray3, col_gray1, col_gray4 },
};
+enum showtab_modes { showtab_never, showtab_auto, showtab_nmodes, showtab_always};
+static const int showtab = showtab_auto; /* Default tab bar show mode */
+static const int toptab = False; /* False means bottom tab bar */
+
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "0" };
@@ -65,6 +69,7 @@ static Key keys[] = {
{ MODKEY, XK_grave, spawn, {.v = dmenucmd } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },
+ { MODKEY, XK_w, tabmode, {-1} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
@@ -119,5 +124,8 @@ static Button buttons[] = {
{ ClkTagBar, MODKEY, Button3, toggletag, {0} },
{ ClkTagBar, 0, Button4, shiftview, {.i = -1} },
{ ClkTagBar, 0, Button5, shiftview, {.i = +1} },
+ { ClkTabBar, 0, Button1, focuswin, {0} },
+ { ClkTabBar, 0, Button4, focusstack, {.i = -1} },
+ { ClkTabBar, 0, Button5, focusstack, {.i = +1} },
};