summaryrefslogtreecommitdiffhomepage
path: root/config.def.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2021-11-23 22:36:53 +0100
committerbakkeby <[email protected]>2021-11-23 22:36:53 +0100
commit63fed59d19ee51f8f8d2876425817e099cb57b04 (patch)
tree43aca0765a77909733534051c83b7be622a9c0b9 /config.def.h
parentc7af5c6b67cf2f09439050f635684a42a879c446 (diff)
downloaddwm-flexipatch-63fed59d19ee51f8f8d2876425817e099cb57b04.tar.gz
dwm-flexipatch-63fed59d19ee51f8f8d2876425817e099cb57b04.zip
Adding taglabels patch ref. #199
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index aa79412..2ed1a25 100644
--- a/config.def.h
+++ b/config.def.h
@@ -91,6 +91,12 @@ static const char buttonbar[] = "<O>";
static const unsigned int systrayspacing = 2; /* systray spacing */
static const int showsystray = 1; /* 0 means no systray */
#endif // BAR_SYSTRAY_PATCH
+#if BAR_TAGLABELS_PATCH
+static const char ptagf[] = "[%s %s]"; /* format of a tag label */
+static const char etagf[] = "[%s]"; /* format of an empty tag */
+static const int lcaselbl = 0; /* 1 means make tag label lowercase */
+#endif // BAR_TAGLABELS_PATCH
+
/* Indicators: see patch/bar_indicators.h for options */
static int tagindicatortype = INDICATOR_TOP_LEFT_SQUARE;
static int tiledindicatortype = INDICATOR_NONE;
@@ -480,6 +486,9 @@ static const BarRule barrules[] = {
#if BAR_TAGS_PATCH
{ -1, 0, BAR_ALIGN_LEFT, width_tags, draw_tags, click_tags, "tags" },
#endif // BAR_TAGS_PATCH
+ #if BAR_TAGLABELS_PATCH
+ { -1, 0, BAR_ALIGN_LEFT, width_taglabels, draw_taglabels, click_taglabels, "taglabels" },
+ #endif // BAR_TAGLABELS_PATCH
#if BAR_TAGGRID_PATCH
{ -1, 0, BAR_ALIGN_LEFT, width_taggrid, draw_taggrid, click_taggrid, "taggrid" },
#endif // BAR_TAGGRID_PATCH