diff options
| author | Eric Pruitt <eric.pruitt@gmail.com> | 2015-03-05 20:26:11 -0800 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2015-03-13 21:44:22 +0100 |
| commit | 14343e69cc596b847f71f1e825d3019ab1a29aa8 (patch) | |
| tree | bf7b0bede9b451f7f8e78e0d47fda511201622d8 /config.def.h | |
| parent | removed .hgtags, thanks Dimitris for spotting (diff) | |
| download | dwm-14343e69cc596b847f71f1e825d3019ab1a29aa8.tar.gz dwm-14343e69cc596b847f71f1e825d3019ab1a29aa8.zip | |
Add Xft and follback-fonts support to graphics lib
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index 875885b..eaae8f3 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -1,7 +1,12 @@ | |||
| 1 | /* See LICENSE file for copyright and license details. */ | 1 | /* See LICENSE file for copyright and license details. */ |
| 2 | 2 | ||
| 3 | /* appearance */ | 3 | /* appearance */ |
| 4 | static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*"; | 4 | static const char *fonts[] = { |
| 5 | "Sans:size=10.5", | ||
| 6 | "VL Gothic:size=10.5", | ||
| 7 | "WenQuanYi Micro Hei:size=10.5", | ||
| 8 | }; | ||
| 9 | static const char dmenufont[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*"; | ||
| 5 | static const char normbordercolor[] = "#444444"; | 10 | static const char normbordercolor[] = "#444444"; |
| 6 | static const char normbgcolor[] = "#222222"; | 11 | static const char normbgcolor[] = "#222222"; |
| 7 | static const char normfgcolor[] = "#bbbbbb"; | 12 | static const char normfgcolor[] = "#bbbbbb"; |
| @@ -51,7 +56,7 @@ static const Layout layouts[] = { | |||
| 51 | 56 | ||
| 52 | /* commands */ | 57 | /* commands */ |
| 53 | static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ | 58 | static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ |
| 54 | static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL }; | 59 | static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL }; |
| 55 | static const char *termcmd[] = { "st", NULL }; | 60 | static const char *termcmd[] = { "st", NULL }; |
| 56 | 61 | ||
| 57 | static Key keys[] = { | 62 | static Key keys[] = { |
