summaryrefslogtreecommitdiff
path: root/Xdefaults
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-03-01 00:07:40 +0000
committerdavidovski <david@davidovski.xyz>2023-03-01 00:07:40 +0000
commit1e137b842f55e37484cf7df0e1fcf11af7280e61 (patch)
treeafb42b83520719f7ae03c9b812fbacfbd558c31f /Xdefaults
parent8c1786d852784591f55d04c29ec036e53bed2900 (diff)
Fix font in urxvt
Diffstat (limited to 'Xdefaults')
-rw-r--r--Xdefaults14
1 files changed, 9 insertions, 5 deletions
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