summaryrefslogtreecommitdiffstats
path: root/public/code
diff options
context:
space:
mode:
Diffstat (limited to 'public/code')
-rw-r--r--public/code/dwm/config.h8
-rw-r--r--public/code/st/config.h10
2 files changed, 10 insertions, 8 deletions
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} },
};
diff --git a/public/code/st/config.h b/public/code/st/config.h
index 267246f..64a4c90 100644
--- a/public/code/st/config.h
+++ b/public/code/st/config.h
@@ -5,7 +5,7 @@
*
* 1366x768: pixelsize=12
* 2560x1440: pixelsize=15
- * 2560x1440 (15.6"): pixelsize=16
+ * 2560x1440 (15.6"): pixelsize=20
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*
@@ -16,7 +16,7 @@
* which currently defaults to "Noto Sans Mono".
*/
//static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
-static char *font = "Hack:pixelsize=16:antialias=true:autohint=true";
+static char *font = "Hack:pixelsize=20:antialias=true:autohint=true";
static char *font2[] = {
/* libxft does not support color emoji. Thus st crashes if it encounters
* one and tries to render it with Noto Color Emoji Font. It existst a
@@ -25,10 +25,10 @@ static char *font2[] = {
//"PowerlineSymbols:pixelsize=16:antialias=true:autohint=true",
//"Source Han Sans JP:pixelsize=16:antialias=true:autohint=true",
//"Source Han Serif JP:pixelsize=16:antialias=true:autohint=true",
- "Noto Sans CJK JP:pixelsize=16:antialias=true:autohint=true",
- "Noto Color Emoji:pixelsize=14:antialias=true:autohint=true",
+ "Noto Sans CJK JP:pixelsize=20:antialias=true:autohint=true",
+ "Noto Color Emoji:pixelsize=18:antialias=true:autohint=true",
/* Fallback font */
- "Symbola:pixelsize=14:antialias=true:autohint=true",
+ "Symbola:pixelsize=18:antialias=true:autohint=true",
};
static int borderpx = 2;