From 465b6c89b7ea9cd53fe3417d62f50dd1922df5dc Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Fri, 21 May 2021 11:45:17 +0200 Subject: [PATCH] feat: configure symbols font through `xresources` --- config.def.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index ad6cc74..f5c009c 100644 --- a/config.def.h +++ b/config.def.h @@ -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] },