X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=layout.c;h=26e9de6cba1e1d2e340a79d8a11956932684a53d;hb=b896b58d6dbdfc98c0099bd7276e4989527160c6;hp=04835a8c340fd89d790f224f6ac9aad36560cd24;hpb=ab3d6a7dfe76d9857f2fc621034359a2a0bf09df;p=dwm.git diff --git a/layout.c b/layout.c index 04835a8..26e9de6 100644 --- a/layout.c +++ b/layout.c @@ -217,6 +217,13 @@ setlayout(const char *arg) { } void +togglebar(const char *arg) { + bpos = (bpos == BarOff) ? BARPOS : BarOff; + updatebarpos(); + lt->arrange(); +} + +void togglemax(const char *arg) { XEvent ev;