From 4a7a99fc5c5e128d83447efa1d4d5924b3c3d02f Mon Sep 17 00:00:00 2001 From: kolunmi Date: Tue, 14 Feb 2023 16:29:56 -0700 Subject: add default font, remove requirement for TAGSLEN with LENGTH macro --- config.def.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index d554597..683adf0 100644 --- a/config.def.h +++ b/config.def.h @@ -3,10 +3,11 @@ static bool hidden = false; static bool bottom = false; static bool hide_vacant = false; -// define the number of tags and the tag names, if the number of tags is -// greater than TAGSLEN they will not be displayed, each tag also needs a name -#define TAGSLEN 9 -static char *tags[TAGSLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; +// font +static char *fontstr = "monospace:size=10"; + +// tag names +static char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; // set 16-bit colors for bar // 8-bit color can be converted to 16-bit color by simply duplicating values e.g -- cgit v1.2.3