dwm/patch/bar_statusbutton.c

18 lines
276 B
C
Raw Normal View History

int
2020-07-18 13:03:30 +02:00
width_stbutton(Bar *bar, BarWidthArg *a)
{
return TEXTW(buttonbar);
}
int
2020-07-18 13:03:30 +02:00
draw_stbutton(Bar *bar, BarDrawArg *a)
{
return drw_text(drw, a->x, 0, a->w, bh, lrpad / 2, buttonbar, 0, False);
}
int
2020-07-18 13:03:30 +02:00
click_stbutton(Bar *bar, Arg *arg, BarClickArg *a)
{
return ClkButton;
}