X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=3fde3cf1d6ec06babc21129e0b832f07df239d14;hb=dce4fb373757727374d00c857ec0dfd225bbeafd;hp=7fb4d8254ddd35db1bfe16c8d67b1b5d6f936ced;hpb=fd3c19bd550e346d515c8e124c7fa55599a1aa22;p=dwm.git diff --git a/config.def.h b/config.def.h index 7fb4d82..3fde3cf 100644 --- a/config.def.h +++ b/config.def.h @@ -1,7 +1,10 @@ /* See LICENSE file for copyright and license details. */ /* appearance */ -static const char font[] = "Liberation Mono:pixelsize=12:antialias=false:autohint=false"; +static const char *fonts[] = { + "monospace:size=10" +}; +static const char dmenufont[] = "monospace:size=10"; static const char normbordercolor[] = "#444444"; static const char normbgcolor[] = "#222222"; static const char normfgcolor[] = "#bbbbbb"; @@ -50,8 +53,9 @@ static const Layout layouts[] = { #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } /* commands */ -static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL }; -static const char *termcmd[] = { "uxterm", NULL }; +static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL }; +static const char *termcmd[] = { "st", NULL }; static Key keys[] = { /* modifier key function argument */