aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorBryson Steck <brysonsteck@protonmail.com>2022-10-26 11:52:24 -0600
committerBryson Steck <brysonsteck@protonmail.com>2022-10-26 11:52:24 -0600
commit12da4da048d58c8de57d17badd4063a0e8934edf (patch)
tree17b1e21bf6ff552f4fee879c97217545101391f3 /config.def.h
parent5c838a427318a1feb3a7b8f72184d887ff821a02 (diff)
parent0df08d5efd99418de6e138285a32bafd7cb2154c (diff)
downloaddwm-12da4da048d58c8de57d17badd4063a0e8934edf.tar
dwm-12da4da048d58c8de57d17badd4063a0e8934edf.tar.gz
dwm-12da4da048d58c8de57d17badd4063a0e8934edf.tar.bz2
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index d9ebdba..aa60e84 100644
--- a/config.def.h
+++ b/config.def.h
@@ -2,9 +2,17 @@
/* appearance */
static const unsigned int borderpx = 1; /* border pixel of windows */
+static const unsigned int gappx = 6; /* gaps between windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
+/* Display modes of the tab bar: never shown, always shown, shown only in */
+/* monocle mode in the presence of several windows. */
+/* Modes after showtab_nmodes are disabled. */
+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 */
+
static const char *fonts[] = { "monospace:size=10" };
static const char dmenufont[] = "monospace:size=10";
static const char col_gray1[] = "#222222";
@@ -66,6 +74,7 @@ static Key keys[] = {
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, 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 } },
@@ -114,5 +123,6 @@ static Button buttons[] = {
{ ClkTagBar, 0, Button3, toggleview, {0} },
{ ClkTagBar, MODKEY, Button1, tag, {0} },
{ ClkTagBar, MODKEY, Button3, toggletag, {0} },
+ { ClkTabBar, 0, Button1, focuswin, {0} },
};