summaryrefslogtreecommitdiffhomepage
path: root/config.def.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2021-08-25 12:18:01 +0200
committerbakkeby <[email protected]>2021-08-25 12:18:01 +0200
commit036421845ff585b87304e70e1168f24aab80ccdd (patch)
treef3be6db055677330354fae7b996e6ef8bf984b42 /config.def.h
parentc2e4fed9182c84c713b24e6f3c60754c950bcf9b (diff)
downloaddwm-flexipatch-036421845ff585b87304e70e1168f24aab80ccdd.tar.gz
dwm-flexipatch-036421845ff585b87304e70e1168f24aab80ccdd.zip
Adding separate statuscolors bar module ref. #180
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 6312459..b24add6 100644
--- a/config.def.h
+++ b/config.def.h
@@ -481,7 +481,11 @@ static const BarRule barrules[] = {
#if BAR_LTSYMBOL_PATCH
{ -1, 0, BAR_ALIGN_LEFT, width_ltsymbol, draw_ltsymbol, click_ltsymbol, "layout" },
#endif // BAR_LTSYMBOL_PATCH
- #if BAR_STATUS2D_PATCH && BAR_STATUSCMD_PATCH
+ #if BAR_STATUSCOLORS_PATCH && BAR_STATUSCMD_PATCH
+ { 'A', 0, BAR_ALIGN_RIGHT, width_statuscolors, draw_statuscolors, click_statuscmd, "statuscolors" },
+ #elif BAR_STATUSCOLORS_PATCH
+ { 'A', 0, BAR_ALIGN_RIGHT, width_statuscolors, draw_statuscolors, click_statuscolors, "statuscolors" },
+ #elif BAR_STATUS2D_PATCH && BAR_STATUSCMD_PATCH
{ 'A', 0, BAR_ALIGN_RIGHT, width_status2d, draw_status2d, click_statuscmd, "status2d" },
#elif BAR_STATUS2D_PATCH
{ 'A', 0, BAR_ALIGN_RIGHT, width_status2d, draw_status2d, click_status2d, "status2d" },
@@ -507,7 +511,11 @@ static const BarRule barrules[] = {
{ -1, 0, BAR_ALIGN_NONE, width_wintitle, draw_wintitle, click_wintitle, "wintitle" },
#endif // BAR_TABGROUPS_PATCH | BAR_AWESOMEBAR_PATCH | BAR_FANCYBAR_PATCH | BAR_WINTITLE_PATCH
#if BAR_EXTRASTATUS_PATCH
- #if BAR_STATUS2D_PATCH && BAR_STATUSCMD_PATCH
+ #if BAR_STATUSCOLORS_PATCH && BAR_STATUSCMD_PATCH
+ { 'A', 1, BAR_ALIGN_CENTER, width_statuscolors_es, draw_statuscolors_es, click_statuscmd_es, "statuscolors_es" },
+ #elif BAR_STATUSCOLORS_PATCH
+ { 'A', 1, BAR_ALIGN_CENTER, width_statuscolors_es, draw_statuscolors_es, click_statuscolors, "statuscolors_es" },
+ #elif BAR_STATUS2D_PATCH && BAR_STATUSCMD_PATCH
{ 'A', 1, BAR_ALIGN_CENTER, width_status2d_es, draw_status2d_es, click_statuscmd_es, "status2d_es" },
#elif BAR_STATUS2D_PATCH
{ 'A', 1, BAR_ALIGN_CENTER, width_status2d_es, draw_status2d_es, click_status2d, "status2d_es" },