diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-05-15 12:09:18 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-05-15 12:09:18 +0200 |
commit | 2aef8b9b4ce0900d241c60cb3a07e111c825d13a (patch) | |
tree | 74724a123e98195e1556c77a13f38bb7fea64cb7 /layout.c | |
parent | d96307cbe4f8beee03811754f6304a810a7860e5 (diff) | |
download | dwm-2aef8b9b4ce0900d241c60cb3a07e111c825d13a.tar.gz |
made bar togglalble
Diffstat (limited to 'layout.c')
-rw-r--r-- | layout.c | 6 |
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; |