summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-07-19 19:30:02 +0200
committerbakkeby <[email protected]>2020-07-19 19:30:02 +0200
commit20650141613e808aad845ef95341ee27ac96b15e (patch)
treef486610e21a47dca3055d983998b4379ad0fa32f
parentd0c077a10222f197eb605e7185b0fa9edc82d67c (diff)
downloaddwm-flexipatch-20650141613e808aad845ef95341ee27ac96b15e.tar.gz
dwm-flexipatch-20650141613e808aad845ef95341ee27ac96b15e.zip
BAR_TITLE_RIGHT_PAD --> BAR_TITLE_RIGHT_PAD_PATCH
-rw-r--r--patch/bar_wintitle.c8
-rw-r--r--patches.def.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/patch/bar_wintitle.c b/patch/bar_wintitle.c
index 7382e0f..9db97c1 100644
--- a/patch/bar_wintitle.c
+++ b/patch/bar_wintitle.c
@@ -12,15 +12,15 @@ draw_wintitle(Bar *bar, BarDrawArg *a)
#endif // BAR_ACTIVETAGINDICATORBAR_PATCH | BAR_ACTIVETAGINDICATORBAR_ALT1_PATCH
int boxw = drw->fonts->h / 6 + 2;
- #if BAR_TITLE_LEFT_PAD && BAR_TITLE_RIGHT_PAD
+ #if BAR_TITLE_LEFT_PAD_PATCH && BAR_TITLE_RIGHT_PAD_PATCH
int x = a->x + lrpad / 2, w = a->w - lrpad;
- #elif BAR_TITLE_LEFT_PAD
+ #elif BAR_TITLE_LEFT_PAD_PATCH
int x = a->x + lrpad / 2, w = a->w - lrpad / 2;
- #elif BAR_TITLE_RIGHT_PAD
+ #elif BAR_TITLE_RIGHT_PAD_PATCH
int x = a->x, w = a->w - lrpad / 2;
#else
int x = a->x, w = a->w;
- #endif // BAR_TITLE_LEFT_PAD | BAR_TITLE_RIGHT_PAD
+ #endif // BAR_TITLE_LEFT_PAD_PATCH | BAR_TITLE_RIGHT_PAD_PATCH
Monitor *m = bar->mon;
if (m->sel) {
diff --git a/patches.def.h b/patches.def.h
index 356f071..88ab21b 100644
--- a/patches.def.h
+++ b/patches.def.h
@@ -109,8 +109,8 @@
* remaining space. These options allow you explicitly add padding should
* you need it.
*/
-#define BAR_TITLE_RIGHT_PAD 0
-#define BAR_TITLE_LEFT_PAD 1
+#define BAR_TITLE_RIGHT_PAD_PATCH 0
+#define BAR_TITLE_LEFT_PAD_PATCH 1
/**
* Bar options