Split font sizes into different "kinds"(?)

This commit is contained in:
2022-12-16 19:08:39 +01:00
parent 2e09c7354a
commit e2ae922a85
9 changed files with 13 additions and 10 deletions

View File

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

View File

@@ -1,4 +1,5 @@
font_size: 12 font_size_1: 12
font_size_2: 9
users: users:
- name: hannes-work - name: hannes-work

View File

@@ -1,4 +1,5 @@
font_size: 12 font_size_1: 12
font_size_2: 9
users: users:
- name: hannes-work - name: hannes-work

View File

@@ -150,7 +150,7 @@ font:
style: Bold Italic style: Bold Italic
# Point size # Point size
size: {{ machine.font_size }} size: {{ machine.font_size_2 }}
# Offset is the extra space around each character. `offset.y` can be thought # 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 # of as modifying the line spacing, and `offset.x` as modifying the letter

View File

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

View File

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

View File

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

View File

@@ -3,7 +3,7 @@
gtk-theme-name="Breeze" gtk-theme-name="Breeze"
gtk-icon-theme-name="breeze" gtk-icon-theme-name="breeze"
gtk-font-name="DejaVu Sans {{ machine.font_size| int - 2 }}" gtk-font-name="DejaVu Sans {{ machine.font_size_1| int - 2 }}"
gtk-cursor-theme-name="breeze_cursors" gtk-cursor-theme-name="breeze_cursors"
gtk-cursor-theme-size=0 gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH gtk-toolbar-style=GTK_TOOLBAR_BOTH

View File

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