t* dwm + patches URI git clone git://git.codevoid.de/dwm-sdk DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 1bd9b412ee6d2826e18edc9d285287cb0e58e8bd DIR parent 35a1bd478d5d01cd97af1b840d561ae46de2687c URI Author: Stefan Hagen <sh+git[at]codevoid[dot]de> Date: Tue, 13 Nov 2018 21:40:59 +0100 Change tag names, add bstack, monocle layout Diffstat: M config.h | 16 ++++++++++------ D dwm | 0 M dwm.c | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) --- DIR diff --git a/config.h b/config.h t@@ -35,8 +35,8 @@ static const char *colors[][3] = { /* tagging */ -//static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; -static const char *tags[] = { "One", "Two", "Three", "Four", "Five" }; +static const char *tags[] = { "Ⅰ", "Ⅱ", "Ⅲ", "Ⅳ", "Ⅴ", "Ⅵ", "Ⅶ", "Ⅷ", "Ⅸ" }; +//static const char *tags[] = { "One", "Two", "Three", "Four", "Five" }; static const Rule rules[] = { /* xprop(1): t@@ -58,8 +58,8 @@ static const int resizehints = 0; /* 1 means respect size hints in tiled res static const Layout layouts[] = { /* symbol arrange function */ - { "[T]", bstack }, - { "[0]", monocle }, + { "🇸", bstack }, + { "🇲", monocle }, }; /* key definitions */ t@@ -86,7 +86,7 @@ static const char *scratchpadcmd[] = { "st", "-f", font_normal, "-t", scratch static const char *dmenucmd[] = { "dmenu_run", DMENUOPTS, NULL }; static const char *browsercmd[] = { ".dwm/browser", DMENUOPTS, NULL }; static const char *passmenucmd[] = { ".dwm/passmenu", DMENUOPTS, NULL }; -static const char *browserpaste[] = { ".dwm/browserpaste", NULL }; +static const char *sshot[] = { ".dwm/sshot", NULL }; static Key keys[] = { /* modifier key function argument */ t@@ -97,7 +97,7 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_p, spawn, {.v = passmenucmd } }, { MODKEY|ShiftMask, XK_m, spawn, {.v = mailcmd } }, { MODKEY, XK_minus, togglescratch, {.v = scratchpadcmd } }, - { MODKEY, XK_p, spawn, {.v = browserpaste } }, + { MODKEY, XK_Print, spawn, {.v = sshot } }, { MODKEY|ShiftMask, XK_o, spawn, {.v = notescmd } }, // show/hide statusbar t@@ -162,6 +162,10 @@ static Key keys[] = { TAGKEYS( XK_3, 2) TAGKEYS( XK_4, 3) TAGKEYS( XK_5, 4) + TAGKEYS( XK_6, 5) + TAGKEYS( XK_7, 6) + TAGKEYS( XK_8, 7) + TAGKEYS( XK_9, 8) }; DIR diff --git a/dwm b/dwm Binary files differ. DIR diff --git a/dwm.c b/dwm.c t@@ -1254,7 +1254,7 @@ monocle(Monitor *m) if (ISVISIBLE(c)) n++; if (n > 0) /* override layout symbol */ - snprintf(m->ltsymbol, sizeof m->ltsymbol, "[%d]", n); + 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); }