X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/ab3d6a7dfe76d9857f2fc621034359a2a0bf09df..fef6c5c66bfe971f00622706689d048c6e473ca7:/layout.c?ds=inline diff --git a/layout.c b/layout.c index 04835a8..26e9de6 100644 --- a/layout.c +++ b/layout.c @@ -216,6 +216,13 @@ setlayout(const char *arg) { drawstatus(); } +void +togglebar(const char *arg) { + bpos = (bpos == BarOff) ? BARPOS : BarOff; + updatebarpos(); + lt->arrange(); +} + void togglemax(const char *arg) { XEvent ev;