From 3cd41289985d291ef19a5d857003817350a9da56 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Mon, 10 May 2021 17:13:18 +0200 Subject: [PATCH] prints nmaster in firstcenterwindow layout --- dwm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dwm.c b/dwm.c index 16ccafb..1ed4bbf 100644 --- a/dwm.c +++ b/dwm.c @@ -2499,6 +2499,9 @@ centeredfirstwindow(Monitor *m) unsigned int i, n, w, mh, mw, mx, mxo, my, myo, tx; Client *c; + /* print nmaster in layout */ + snprintf(m->ltsymbol, sizeof m->ltsymbol, "%d[\\]", m->nmaster); + /* count number of clients in the selected monitor */ for (n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), n++); if (n == 0)