aboutsummaryrefslogtreecommitdiff
path: root/alacritty.yml
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty.yml')
-rw-r--r--alacritty.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/alacritty.yml b/alacritty.yml
index 38c57b3e..6290edfa 100644
--- a/alacritty.yml
+++ b/alacritty.yml
@@ -93,6 +93,12 @@ font:
x: 0
y: 0
+ # Scale the font size based on the monitor's DPI. This will lead to bigger text on HiDPI
+ # screens and make reading text a little easier.
+ # On X11 it is possible to change the DPI for each instance of alacritty by using
+ # `WINIT_HIDPI_FACTOR=1.0 alacritty` to scale the font.
+ scale_with_dpi: true
+
# OS X only: use thin stroke font rendering. Thin strokes are suitable
# for retina displays, but for non-retina you probably want this set to
# false.