summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2022-01-29 01:19:01 -0500
committerMalfurious <m@lfurio.us>2023-06-03 22:29:19 -0400
commit686ae19da6cc8d8c08efe460294eb8e01e820cf3 (patch)
treef079e7e23e18653d47b3084fec9db526a1e20daf
parentf91dec9e023273b305537e867f641e124ad25475 (diff)
downloaddwm-686ae19da6cc8d8c08efe460294eb8e01e820cf3.tar.gz
dwm-686ae19da6cc8d8c08efe460294eb8e01e820cf3.zip
config: taglabel formats
Set basic format and limit master window title to 55 chars, to prevent the overall format from being truncated.
-rw-r--r--config.def.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index e92de44..caae20d 100644
--- a/config.def.h
+++ b/config.def.h
@@ -27,8 +27,8 @@ static const unsigned int alphas[][3] = {
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "0" };
-static const char ptagf[] = "[%s %s]"; /* format of a tag label */
-static const char etagf[] = "[%s]"; /* format of an empty tag */
+static const char ptagf[] = "[%s: %.55s]"; /* 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 */
static const Rule rules[] = {