Support for empty and urgent tags.

This commit is contained in:
Bartek Stalewski 2022-08-21 19:11:35 +02:00
parent 6ba8e12e09
commit 967261bba8
5 changed files with 108 additions and 16 deletions

View file

@ -17,16 +17,21 @@ static const int showsystray = 1; /* 0 means no systray */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "RobotoMono Nerd Font:style=Medium:pixelsize=13" };
static const char col_fg[] = "#f8f8f2";
static const char col_bg[] = "#272822";
static const char col_bd[] = "#161616";
static const char col_fg_sel[] = "#ffffff";
static const char col_bg_sel[] = "#005577";
static const char col_bd_sel[] = "#707070";
static const char col_fg[] = "#f8f8f2";
static const char col_bg[] = "#272822";
static const char col_bd[] = "#161616";
static const char col_fg_empty[] = "#525252";
static const char col_fg_urgent[] = "#ffffff";
static const char col_bg_urgent[] = "#770000";
static const char col_fg_sel[] = "#272822";
static const char col_bg_sel[] = "#ffffff";
static const char col_bd_sel[] = "#ffffff";
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { col_fg, col_bg, col_bd },
[SchemeSel] = { col_fg_sel, col_bg_sel, col_bd_sel },
/* fg bg border */
[SchemeNorm] = { col_fg, col_bg, col_bd },
[SchemeSel] = { col_fg_sel, col_bg_sel, col_bd_sel },
[SchemeEmpty] = { col_fg_empty, col_bg, col_bd },
[SchemeUrgent] = { col_fg_urgent, col_bg_urgent, col_bd },
};
typedef struct {