dotfiles/.config/suckless/dwm/patch/bar_statusbutton.c

19 lines
268 B
C
Raw Normal View History

2024-04-23 04:34:15 +02:00
int
width_stbutton(Bar *bar, BarArg *a)
{
return TEXTW(buttonbar);
}
int
draw_stbutton(Bar *bar, BarArg *a)
{
return drw_text(drw, a->x, a->y, a->w, a->h, lrpad / 2, buttonbar, 0, False);
}
int
click_stbutton(Bar *bar, Arg *arg, BarArg *a)
{
return ClkButton;
}