feat: configure symbols font through xresources
This commit is contained in:
parent
76751a33c5
commit
465b6c89b7
@ -7,10 +7,11 @@
|
|||||||
*/
|
*/
|
||||||
static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
|
static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
|
||||||
/* Spare fonts */
|
/* Spare fonts */
|
||||||
|
static char symbols[] = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
|
||||||
static char *font2[] = {
|
static char *font2[] = {
|
||||||
/* "Inconsolata for Powerline:pixelsize=12:antialias=true:autohint=true", */
|
/* "Inconsolata for Powerline:pixelsize=12:antialias=true:autohint=true", */
|
||||||
/* "Hack Nerd Font Mono:pixelsize=11:antialias=true:autohint=true", */
|
/* "Hack Nerd Font Mono:pixelsize=11:antialias=true:autohint=true", */
|
||||||
"Symbols Nerd Font:size=11",
|
symbols,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int borderpx = 2;
|
static int borderpx = 2;
|
||||||
@ -181,6 +182,7 @@ static uint forcemousemod = ShiftMask;
|
|||||||
*/
|
*/
|
||||||
ResourcePref resources[] = {
|
ResourcePref resources[] = {
|
||||||
{ "font", STRING, &font },
|
{ "font", STRING, &font },
|
||||||
|
{ "symbols", STRING, &symbols },
|
||||||
{ "color0", STRING, &colorname[0] },
|
{ "color0", STRING, &colorname[0] },
|
||||||
{ "color1", STRING, &colorname[1] },
|
{ "color1", STRING, &colorname[1] },
|
||||||
{ "color2", STRING, &colorname[2] },
|
{ "color2", STRING, &colorname[2] },
|
||||||
|
Loading…
Reference in New Issue
Block a user