Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
made bar togglalble
[dwm.git]
/
layout.c
diff --git
a/layout.c
b/layout.c
index
04835a8
..
0dc062f
100644
(file)
--- 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;