From 18b08206705125569c06b5b72108474d1dd8fb5f Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Mon, 22 Aug 2022 02:50:56 +0200 Subject: [PATCH] More tag schemes. --- .../dwm/_patches/dwm-tagschemes-1.0.diff | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/_desktop/_suckless/dwm/_patches/dwm-tagschemes-1.0.diff b/_desktop/_suckless/dwm/_patches/dwm-tagschemes-1.0.diff index e13cbea..78f2217 100644 --- a/_desktop/_suckless/dwm/_patches/dwm-tagschemes-1.0.diff +++ b/_desktop/_suckless/dwm/_patches/dwm-tagschemes-1.0.diff @@ -1,20 +1,21 @@ diff --git a/config.def.h b/config.def.h -index 9efa774..ab0209f 100644 +index 3a60ca7..5979f05 100644 --- a/config.def.h +++ b/config.def.h -@@ -7,15 +7,24 @@ static const int showbar = 1; /* 0 means no bar */ - static const int topbar = 1; /* 0 means bottom bar */ +@@ -17,16 +17,24 @@ 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[] = { "monospace:size=10" }; - static const char dmenufont[] = "monospace:size=10"; -static const char col_gray1[] = "#222222"; -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 *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 }, +- [SchemeEmpty] = { col_empty, col_gray1, col_gray2 }, +static const char col_fg[] = "#ffffff"; +static const char col_bg[] = "#272822"; +static const char col_bd[] = "#272822"; @@ -35,7 +36,7 @@ index 9efa774..ab0209f 100644 + [SchemeUrgent] = { col_fg_urgent, col_bg_urgent, col_bd_urgent }, }; - /* tagging */ + typedef struct { diff --git a/dwm.c b/dwm.c index 8a200d5..626eab3 100644 --- a/dwm.c