Use single font size

This commit is contained in:
2024-05-26 12:49:46 +02:00
parent 855c6ab014
commit da3762a3b0
8 changed files with 9 additions and 11 deletions

View File

@@ -1,5 +1,4 @@
font_size_1: 11
font_size_2: 11
font_size: 11
gpu: amd
cpu: amd

View File

@@ -1,5 +1,4 @@
font_size_1: 12
font_size_2: 12
font_size: 12
gpu: nvidia
cpu: intel

View File

@@ -9,7 +9,7 @@ TERM = "alacritty"
WINIT_X11_SCALE_FACTOR = "1"
[font]
size = {{ machine.font_size_2 }}
size = {{ machine.font_size }}
[font.bold]
family = "JetBrainsMono"

View File

@@ -84,7 +84,7 @@
### Text ###
font = DejaVu Sans {{ machine.font_size_1 }}
font = DejaVu Sans {{ machine.font_size }}
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.

View File

@@ -1,7 +1,7 @@
[Settings]
gtk-theme-name=Breeze
gtk-icon-theme-name=breeze
gtk-font-name=DejaVu Sans {{ ((machine.font_size_1|int - 2)|float * 2.0) | round(0, 'floor') | int }}
gtk-font-name=DejaVu Sans {{ ((machine.font_size|int - 2)|float * 2.0) | round(0, 'floor') | int }}
gtk-cursor-theme-name=breeze_cursors
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH

View File

@@ -1,7 +1,7 @@
[Settings]
gtk-theme-name=Breeze
gtk-icon-theme-name=breeze
gtk-font-name=DejaVu Sans {{ machine.font_size_1|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

View File

@@ -3,7 +3,7 @@
gtk-theme-name="Breeze"
gtk-icon-theme-name="breeze"
gtk-font-name="DejaVu Sans {{ machine.font_size_1| 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

View File

@@ -288,7 +288,7 @@ assign [class="^Wine$"] $workspace10
floating_minimum_size 0 x 0
floating_maximum_size 0 x 0
font pango:JetBrainsMono {{ machine.font_size_1 }}
font pango:JetBrainsMono {{ machine.font_size }}
################################################################################
### COLOR SETTINGS #############################################################
@@ -349,7 +349,7 @@ bar {
id bar-0
font pango:JetBrainsMono {{ machine.font_size_1 }}
font pango:JetBrainsMono {{ machine.font_size }}
colors {
background #272822