diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-23 16:12:19 +0530 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-23 16:12:19 +0530 |
commit | 09ed528140fadeb5641bf6871f92ce83aa3d4880 (patch) | |
tree | 6c05a6a5d17c5617ff9ee3a1a4b5d114c9a8f1c6 | |
parent | 1c0d8db78e9a13ced7e94a5886f2b152065c2781 (diff) | |
download | dwm-09ed528140fadeb5641bf6871f92ce83aa3d4880.tar.gz dwm-09ed528140fadeb5641bf6871f92ce83aa3d4880.tar.bz2 dwm-09ed528140fadeb5641bf6871f92ce83aa3d4880.zip |
Monocle now uses gaps
-rw-r--r-- | dwm.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1244,7 +1244,10 @@ monocle(Monitor *m) if (n > 0) /* override layout symbol */ snprintf(m->ltsymbol, sizeof m->ltsymbol, "[%d]", n); for (c = nexttiled(m->clients); c; c = nexttiled(c->next)) - resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, 0); + resize(c, m->wx + m->gappx, m->wy + m->gappx, + m->ww - 2 * c->bw - (2 * m->gappx), + m->wh - 2 * c->bw - (2 * m->gappx), + 0); } void |