Fix systray padding

This commit is contained in:
Alexis Jhon Gaspar 2023-10-03 22:50:49 +08:00
parent e3d1016995
commit e689329651
2 changed files with 2 additions and 2 deletions

View file

@ -128,7 +128,7 @@ static const int ulineall = 0; /* 1 to show underline on all ta
#define NAMETAG_FORMAT "%s" #define NAMETAG_FORMAT "%s"
#endif // NAMETAG_PREPEND_PATCH #endif // NAMETAG_PREPEND_PATCH
/* The maximum amount of bytes reserved for each tag text. */ /* 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 /* 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 * line arguments or providing name options. Optionally you can use other dmenu like alternatives
* like rofi -dmenu. */ * like rofi -dmenu. */

View file

@ -76,7 +76,7 @@ width_stbutton5(Bar *bar, BarArg *a)
int int
draw_stbutton5(Bar *bar, BarArg *a) 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 int