From 1e137b842f55e37484cf7df0e1fcf11af7280e61 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 1 Mar 2023 00:07:40 +0000 Subject: Fix font in urxvt --- Xdefaults | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'Xdefaults') diff --git a/Xdefaults b/Xdefaults index 88728cb..9abab04 100644 --- a/Xdefaults +++ b/Xdefaults @@ -1,5 +1,8 @@ #define FG #fefefe #define BG #191919 +#define font1 xft:mononoki:minispace=False:size=10:antialias=true +#define font2 xft:MesloLGM Nerd Font Mono:minispace=False:size=10 +#define font3 xft:Noto Sans Mono CJK TC:minispace=False:size=10 *.foreground: FG URxvt.background: BG URxvt.borderColor: BG @@ -40,10 +43,10 @@ URxvt.borderColor: BG ! Set depth to make transparency work. URxvt*depth: 32 -URxvt.font: xft:mononoki:minispace=False:size=10:antialias=true,xft:MesloLGM Nerd Font:minispace=False:size=10,Noto Sans Mono CJK TC:minispace=False:size=10 -URxvt.boldFont: xft:mononoki:minispace=False:style=bold:size=10,xft:MesloLGM Nerd Font:minispace=False:size=10,Noto Sans Mono CJK TC:minispace=False:size=10 -URxvt.italicFont: xft:mononoki:minispace=False:style=italic:size=10 -URxvt.boldItalicfont: xft:mononoki:minispace=False:style=bolditalic:size=10 +URxvt.font: font1,font2,font3 +URxvt.boldFont: font1:style=bold,font2:style=bold,font3:style=bold +URxvt.italicFont:font1:style=italic,font2:style=italic,font3:style=italic +URxvt.boldItalicfont: font1:style=bolditalic,font2:style=bolditalic,font3:style=bolditalic URxvt.letterSpace: 0 URxvt.lineSpace: -4 @@ -69,7 +72,8 @@ Xft.rgba: rgb Xft.hinting: true Xft.hintstyle: hintfull -URxvt.perl-ext-common: default,matcher,font-size,config-reload +URxvt.perl-ext-common: resize-font + URxvt.url-launcher: /usr/bin/xdg-open URxvt.matcher.button: 1 -- cgit v1.2.1