JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
made bar togglalble
[dwm.git] / layout.c
index 04835a8..0dc062f 100644 (file)
--- a/layout.c
+++ b/layout.c
@@ -217,6 +217,12 @@ setlayout(const char *arg) {
 }
 
 void
+togglebar(const char *arg) {
+       bpos = (bpos == BarOff) ? BARPOS : BarOff;
+       updatebarpos();
+}
+
+void
 togglemax(const char *arg) {
        XEvent ev;