Introduction
Introduction Statistics Contact Development Disclaimer Help
index.md - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
index.md (1099B)
---
1 Change font in config.h
2 =======================
3 Towards the beginning of **config.h**, you will find a line defining the
4 variable
5
6 static const char font[] = "..."
7
8 By using **xfontsel**, you can produce a font line for the font you woul…
9 to be used by **dwm** when displaying text in the menubar.
10
11 For example, to change the font to 'fixed', you can change the value of …
12 to:
13
14 static const char font[] = "-misc-fixed-medium-r-semicondensed--…
15
16 The following patch also produces the same result:
17
18 --- a/config.def.h Mon Jul 28 20:23:16 2008 +0100
19 +++ b/config.def.h Mon Jul 28 20:45:27 2008 +0100
20 @@ -1,7 +1,7 @@
21 /* See LICENSE file for copyright and license details. */
22
23 /* appearance */
24 -static const char font[] = "-*-terminus-medium-r-nor…
25 +static const char font[] = "-misc-fixed-medium-r-sem…
26 static const char normbordercolor[] = "#cccccc";
27 static const char normbgcolor[] = "#cccccc";
28 static const char normfgcolor[] = "#000000";
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.