Skip to content

Commit 934c7a3

Browse files
committed
add devanagari symbols for layout status on bar
1 parent 3571b48 commit 934c7a3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

config.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ static const int resizehints = 0; /* 1 means respect size hints in tiled resi
4949

5050
static const Layout layouts[] = {
5151
/* symbol arrange function */
52-
{ "[]=", tile }, /* first entry is default */
53-
{ "><>", NULL }, /* no layout function means floating behavior */
54-
{ "[M]", monocle },
52+
{ "", tile }, /* first entry is default */
53+
{ "", NULL }, /* no layout function means floating behavior */
54+
{ "", monocle }
5555
};
5656

5757
/* key definitions */

dwm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ monocle(Monitor *m)
11691169
if (ISVISIBLE(c))
11701170
n++;
11711171
if (n > 0) /* override layout symbol */
1172-
snprintf(m->ltsymbol, sizeof m->ltsymbol, "[%d]", n);
1172+
snprintf(m->ltsymbol, sizeof m->ltsymbol, "।%d।।", n);
11731173
for (c = nexttiled(m->clients); c; c = nexttiled(c->next))
11741174
resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, 0);
11751175
}

0 commit comments

Comments
 (0)