From ea3ebc1d06f7674fd70da389c2e2a70587723e28 Mon Sep 17 00:00:00 2001 From: David Anguita Date: Mon, 25 Mar 2024 20:00:49 +0100 Subject: [PATCH] (x11) Configure fonts --- Xresources | 4 ++-- bin/dmenu-desktop | 2 +- bin/emoji-selector | 2 +- bin/select-url | 2 +- config/fontconfig/conf.d/99-font-aliases.conf | 1 - 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Xresources b/Xresources index 9c10d8b..a4eab3e 100644 --- a/Xresources +++ b/Xresources @@ -3,10 +3,10 @@ ! 125%: 96*1.25 = 120 ! 150%: 96*1.5 = 144 ! 200%: 96*2.0 = 192 -Xft.dpi: 144 +Xft.dpi: 120 ! xterm -xterm.vt100.faceName: monospace:size=10:antialias=true:autohint=true +xterm.vt100.faceName: monospace:size=10:antialias=false xterm.vt100.eightBitInput: false xterm.vt100.reverseVideo: true xterm.vt100.printerCommand: select-url diff --git a/bin/dmenu-desktop b/bin/dmenu-desktop index 3be9195..7139f95 100755 --- a/bin/dmenu-desktop +++ b/bin/dmenu-desktop @@ -2,4 +2,4 @@ set -e -j4-dmenu-desktop --dmenu="dmenu -i -fn monospace:size=10" +j4-dmenu-desktop --dmenu="dmenu -i -fn monospace:size=10:antialias=false" diff --git a/bin/emoji-selector b/bin/emoji-selector index baf896e..654d6e8 100755 --- a/bin/emoji-selector +++ b/bin/emoji-selector @@ -15,7 +15,7 @@ case "$1" in fi ;; "") - bash $0 list | dmenu -i -fn monospace:size=10 -p 'Emoji: ' | bash $0 copy + bash $0 list | dmenu -i -fn "monospace:size=10:antialias=false" -p 'Emoji: ' | bash $0 copy ;; esac diff --git a/bin/select-url b/bin/select-url index b02df9b..c7b00a8 100755 --- a/bin/select-url +++ b/bin/select-url @@ -9,5 +9,5 @@ grep -Eo '\bhttps?://\S+\b' | uniq | - dmenu -fn monospace:size=10 -i -p "Open URL:" | + dmenu -fn "monospace:size=10:antialias=false" -i -p "Open URL:" | xargs xdg-open diff --git a/config/fontconfig/conf.d/99-font-aliases.conf b/config/fontconfig/conf.d/99-font-aliases.conf index 6169a4d..676e740 100644 --- a/config/fontconfig/conf.d/99-font-aliases.conf +++ b/config/fontconfig/conf.d/99-font-aliases.conf @@ -5,7 +5,6 @@ monospace - Liberation Mono DejaVu Sans Mono