Apply updated statuscolors patch from

https://dwm.suckless.org/patches/statuscolors/ and
https://dwm.suckless.org/patches/statuscolors/dwm-statuscolors-20220322-bece862.diff

From 301db3986527041d64f4b58026677709a34b153f Mon Sep 17 00:00:00 2001
From: dan soucy <dev@danso.ca>
Date: Tue, 22 Mar 2022 03:15:00 -0400
Subject: [PATCH] enable colored text in the status bar

This patch is an update of statuscolors patch to work with 6.3.
It is known to work up to commit bece862.
---
 config.def.h | 13 ++++++++++---
 dwm.c        | 18 ++++++++++++++++--
 2 files changed, 26 insertions(+), 5 deletions(-)
This commit is contained in:
Aaron Lindsay
2025-12-11 09:15:18 -05:00
parent c8448da8b8
commit cb36d4579b
2 changed files with 26 additions and 5 deletions

View File

@@ -12,10 +12,17 @@ static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#005577";
static const char col_black[] = "#000000";
static const char col_red[] = "#ff0000";
static const char col_yellow[] = "#ffff00";
static const char col_white[] = "#ffffff";
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
[SchemeWarn] = { col_black, col_yellow, col_red },
[SchemeUrgent]= { col_white, col_red, col_red },
};
/* tagging */