From e689329651454e746ccd9ce8c5015d231524ca28 Mon Sep 17 00:00:00 2001 From: Alexis Jhon Gaspar Date: Tue, 3 Oct 2023 22:50:49 +0800 Subject: [PATCH] Fix systray padding --- dwm-flexipatch/config.def.h | 2 +- dwm-flexipatch/patch/bar_statusbutton.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dwm-flexipatch/config.def.h b/dwm-flexipatch/config.def.h index 00920c7..ba6b670 100644 --- a/dwm-flexipatch/config.def.h +++ b/dwm-flexipatch/config.def.h @@ -128,7 +128,7 @@ static const int ulineall = 0; /* 1 to show underline on all ta #define NAMETAG_FORMAT "%s" #endif // NAMETAG_PREPEND_PATCH /* The maximum amount of bytes reserved for each tag text. */ -#define MAX_TAGLEN 16 +#define MAX_TAGLEN 32 /* The command to run (via popen). This can be tailored by adding a prompt, passing other command * line arguments or providing name options. Optionally you can use other dmenu like alternatives * like rofi -dmenu. */ diff --git a/dwm-flexipatch/patch/bar_statusbutton.c b/dwm-flexipatch/patch/bar_statusbutton.c index 9b53694..1ebc053 100644 --- a/dwm-flexipatch/patch/bar_statusbutton.c +++ b/dwm-flexipatch/patch/bar_statusbutton.c @@ -76,7 +76,7 @@ width_stbutton5(Bar *bar, BarArg *a) int draw_stbutton5(Bar *bar, BarArg *a) { - return drw_text(drw, a->x, a->y, a->w, a->h, lrpad / 2, buttonbar5, 0, False); + return drw_text(drw, a->x, a->y, a->w, a->h, lrpad / 20, buttonbar5, 0, False); } int