mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-17 07:56:11 +01:00
dwm flexipatch
This commit is contained in:
18
dwm/.dwm/patch/bar_statusbutton.c
Normal file
18
dwm/.dwm/patch/bar_statusbutton.c
Normal 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user