From 31c7dcb823b6a05981aa5487d8cf08ece7b8bc3e Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Wed, 28 May 2025 22:08:02 +0900 Subject: bump Many small changes. Maybe the most significan is update the terminal font size in `st` config.h for better visibility. --- public/code/dwm/config.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'public/code/dwm/config.h') diff --git a/public/code/dwm/config.h b/public/code/dwm/config.h index 895fced..bfb050f 100644 --- a/public/code/dwm/config.h +++ b/public/code/dwm/config.h @@ -32,8 +32,9 @@ static const Rule rules[] = { */ /* class instance title tags mask isfloating monitor */ { "Gimp", NULL, NULL, 0, 1, -1 }, - { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, + //{ "firefox", NULL, NULL, 1 << 8, 0, -1 }, { "GoldenDict", NULL, NULL, 0, 1, -1 }, + { "st", NULL, NULL, 0, 1, -1 }, }; /* layout(s) */ @@ -61,13 +62,13 @@ static const Layout layouts[] = { #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } /* commands */ -static const char *dmenucmd[] = { "dmenu_run", "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; +static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *termcmd[] = { "st", NULL }; static const Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, - { MODKEY, XK_space, spawn, {.v = dmenucmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, @@ -102,6 +103,7 @@ static const Key keys[] = { { MODKEY|ShiftMask, XK_q, quit, {0} }, // mitsuo + { MODKEY, XK_space, spawn, {.v = dmenucmd } }, { MODKEY, XK_F4, killclient, {0} }, }; -- cgit v1.2.3