about summary refs log tree commit diff stats
path: root/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/layout.c b/layout.c
index 04835a8..0dc062f 100644
--- 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;