From 610167c8e3da62100d2ede97ebf44458ec546dbd Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Sat, 20 Feb 2016 23:53:56 +0100 Subject: [PATCH] Changing font Sauce Code Pro did not support some useful UTF-8 chars. So switched to a uglier font but which supports them. Since Xterm doesn't support fallback fonts, I wonder if I can merge both. --- Xresources.d/configure | 7 ++++--- Xresources.d/xterm | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Xresources.d/configure b/Xresources.d/configure index 78f9741..dadc9d7 100755 --- a/Xresources.d/configure +++ b/Xresources.d/configure @@ -3,7 +3,8 @@ wget https://raw.githubusercontent.com/solarized/xresources/master/Xresources.light -O solarized.light wget https://raw.githubusercontent.com/solarized/xresources/master/Xresources.dark -O solarized.dark mkdir -p $HOME/.local/share/fonts -for i in Black Bold ExtraLight Light Medium Regular Semibold; do - wget http://raw.githubusercontent.com/powerline/fonts/master/SourceCodePro/Sauce%20Code%20Powerline%20$i.otf -O "$HOME/.local/share/fonts/Sauce Code Powerline $i.otf" -done +echo $(for i in "" "%20Bold" "%20Oblique" "%20Bold%20Oblique"; do + cd $HOME/.local/share/fonts + wget http://raw.githubusercontent.com/powerline/fonts/master/DejaVuSansMono/DejaVu%20Sans%20Mono$i%20for%20Powerline.ttf +done) diff --git a/Xresources.d/xterm b/Xresources.d/xterm index 3f09078..7eedaa8 100644 --- a/Xresources.d/xterm +++ b/Xresources.d/xterm @@ -1,4 +1,4 @@ -xterm*faceName : Sauce Code Powerline:size=12:antialias=true +xterm*faceName : DejaVu Sans Mono for Powerline:size=12:antialias=true xterm*dynamicColors: true xterm*utf8: 2 xterm*eightBitInput: true