dwm-speedie/libs/bar/bar_status.c

19 lines
299 B
C
Raw Normal View History

2023-07-04 02:07:24 +02:00
int
width_status(Bar *bar, BarWidthArg *a)
{
return TEXTW(stext);
}
int
draw_status(Bar *bar, BarDrawArg *a)
{
2023-07-04 02:17:21 +02:00
return drw_text(drw, a->x, 0, a->w, bh, lrpad / 2, stext, 0, False, col_gray3, col_gray1, 255, 255);
2023-07-04 02:07:24 +02:00
}
int
click_status(Bar *bar, Arg *arg, BarClickArg *a)
{
return ClkStatusText;
}