From 2aef8b9b4ce0900d241c60cb3a07e111c825d13a Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Tue, 15 May 2007 12:09:18 +0200 Subject: made bar togglalble --- layout.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'layout.c') diff --git a/layout.c b/layout.c index 04835a8c..0dc062f1 100644 --- a/layout.c +++ b/layout.c @@ -216,6 +216,12 @@ setlayout(const char *arg) { drawstatus(); } +void +togglebar(const char *arg) { + bpos = (bpos == BarOff) ? BARPOS : BarOff; + updatebarpos(); +} + void togglemax(const char *arg) { XEvent ev; -- cgit v1.2.3