From abb78d6248355dd48f8d70323a5395b1b2369fd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Fri, 22 Oct 2021 22:40:58 +0200 Subject: [PATCH] Try to standardize font size --- _machines/mars.yml | 2 +- _machines/neptune.yml | 2 +- alacritty/alacritty.yml.j2 | 2 +- gtk/gtkrc-2.0.j2 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_machines/mars.yml b/_machines/mars.yml index 2ebf342..d7be175 100644 --- a/_machines/mars.yml +++ b/_machines/mars.yml @@ -1,4 +1,4 @@ -font_size: 11 +font_size: 12 letter_space: 0 users: diff --git a/_machines/neptune.yml b/_machines/neptune.yml index 2ebf342..d7be175 100644 --- a/_machines/neptune.yml +++ b/_machines/neptune.yml @@ -1,4 +1,4 @@ -font_size: 11 +font_size: 12 letter_space: 0 users: diff --git a/alacritty/alacritty.yml.j2 b/alacritty/alacritty.yml.j2 index 4ecc1e5..f599a2e 100644 --- a/alacritty/alacritty.yml.j2 +++ b/alacritty/alacritty.yml.j2 @@ -150,7 +150,7 @@ font: style: Bold Italic # Point size - size: {{ machine.font_size }} + size: {{ machine.font_size|int - 3 }} # Offset is the extra space around each character. `offset.y` can be thought # of as modifying the line spacing, and `offset.x` as modifying the letter diff --git a/gtk/gtkrc-2.0.j2 b/gtk/gtkrc-2.0.j2 index 4929161..d21ae5c 100644 --- a/gtk/gtkrc-2.0.j2 +++ b/gtk/gtkrc-2.0.j2 @@ -3,7 +3,7 @@ gtk-theme-name="Breeze" gtk-icon-theme-name="breeze-dark" -gtk-font-name="DejaVu Sans {{ machine.font_size|int - 2 }}" +gtk-font-name="DejaVu Sans {{ machine.font_size| int - 2 }}" gtk-cursor-theme-name="breeze_cursors" gtk-cursor-theme-size=0 gtk-toolbar-style=GTK_TOOLBAR_BOTH