feat: configure symbols font through xresources

This commit is contained in:
David JULIEN 2021-05-21 11:45:17 +02:00
parent 76751a33c5
commit 465b6c89b7

View File

@ -7,10 +7,11 @@
*/
static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
/* Spare fonts */
static char symbols[] = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
static char *font2[] = {
/* "Inconsolata for Powerline:pixelsize=12:antialias=true:autohint=true", */
/* "Hack Nerd Font Mono:pixelsize=11:antialias=true:autohint=true", */
"Symbols Nerd Font:size=11",
symbols,
};
static int borderpx = 2;
@ -181,6 +182,7 @@ static uint forcemousemod = ShiftMask;
*/
ResourcePref resources[] = {
{ "font", STRING, &font },
{ "symbols", STRING, &symbols },
{ "color0", STRING, &colorname[0] },
{ "color1", STRING, &colorname[1] },
{ "color2", STRING, &colorname[2] },