my flexipatch

This commit is contained in:
2022-09-23 00:01:22 +02:00
commit 1028bffd8d
288 changed files with 28740 additions and 0 deletions

18
patch/bar_statusbutton.c Normal file
View File

@@ -0,0 +1,18 @@
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;
}