From cfe1b77aaa06ebc39f86234df72619e6547671fc Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 10 Jul 2020 16:28:52 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20alacritty=E2=80=99s=20too=20small=20font?= =?UTF-8?q?=20on=20external=20monitor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Alacritty scales relative to the physical monitor size (which is a cool feature for HiDPI monitors). Since my external monitor is LoDPI, this makes the text unreadable. `xrdb -remove` is useful for when I have to add a HiDPI monitor temporarily --- home/.Xdefaults | 3 +++ home/.config/alacritty/alacritty.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/home/.Xdefaults b/home/.Xdefaults index c16db10..1ffc1bb 100644 --- a/home/.Xdefaults +++ b/home/.Xdefaults @@ -23,3 +23,6 @@ URxvt*pointerBlank: True ! No scrollbar URxvt*scrollBar: False + +! Force same dpi (for alacritty) +Xft.dpi: 96 diff --git a/home/.config/alacritty/alacritty.yml b/home/.config/alacritty/alacritty.yml index 8717908..3c9c6dc 100644 --- a/home/.config/alacritty/alacritty.yml +++ b/home/.config/alacritty/alacritty.yml @@ -4,7 +4,7 @@ font: family: Iosevka Nerd Font style: Regular - size: 8 + size: 13.5 mouse: hide_when_typing: true