JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Added tag 4.1 for changeset 00f4180df72b
[dwm.git] / layout.c
index 04835a8..bc5ca1c 100644 (file)
--- a/layout.c
+++ b/layout.c
@@ -217,6 +217,16 @@ setlayout(const char *arg) {
 }
 
 void
+togglebar(const char *arg) {
+       if(bpos == BarOff)
+               bpos = (BARPOS == BarOff) ? BarTop : BARPOS;
+       else
+               bpos = BarOff;
+       updatebarpos();
+       lt->arrange();
+}
+
+void
 togglemax(const char *arg) {
        XEvent ev;