summaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-01-05 22:21:52 +0100
committerAnton Khirnov <anton@khirnov.net>2021-01-05 22:21:52 +0100
commit77b21c2c66616b5edc384f3622e744e5b0d25195 (patch)
treec66b028e72a70340ce97a2a74ed388ba6792938b /dotfiles
parentc64eb30c2fd94785d6e7a7cca096ab0143e16a74 (diff)
Xresources: make urxvt font size overridable
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/Xresources6
1 files changed, 5 insertions, 1 deletions
diff --git a/dotfiles/Xresources b/dotfiles/Xresources
index 898f460..3132165 100644
--- a/dotfiles/Xresources
+++ b/dotfiles/Xresources
@@ -8,6 +8,10 @@
Xft.dpi: DPI
#endif
+#ifndef URXVT_FONT_SIZE
+#define URXVT_FONT_SIZE 12
+#endif
+
URxvt.color9: tomato
URxvt.color10: spring green
URxvt.color11: yellow
@@ -22,7 +26,7 @@ URxvt.transparent: true
URxvt.fading: 30
URxvt.shading: 20
URxvt.borderColor: yellow
-URxvt.font: xft:DejaVu Sans Mono:style=regular:pixelsize=12,xft:IPAMincho
+URxvt.font: xft:DejaVu Sans Mono:style=regular:pixelsize=URXVT_FONT_SIZE,xft:IPAMincho
URxvt.scrollBar: true
URxvt.scrollBar_right: true
URxvt.scrollTTYOutput: true