Adjust GTK font size

This commit is contained in:
Johannes Loher 2020-09-19 13:41:22 +02:00
parent aa517adf20
commit 7b23166394
3 changed files with 7 additions and 4 deletions

View file

@ -1,7 +1,7 @@
[Settings]
gtk-theme-name=Arc-Darker
gtk-icon-theme-name=Moka
gtk-font-name=Roboto 14
gtk-font-name=Roboto 11
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH

View file

@ -11,7 +11,10 @@ set $color_indicator #4DADD4
set $color_warn #F27835
set $color_error #FC4138
set $font Roboto 14
set $font_family Roboto
set $font_size 14
set $gtk_font_size 11
set $font $font_family $font_size
set $background $HOME/.backgrounds/mountain.jpg
# ------------------------------------------------------------------------------
@ -294,5 +297,5 @@ exec_always {
gsettings set $gnome-schema gtk-theme 'Arc-Darker'
gsettings set $gnome-schema icon-theme 'Moka'
gsettings set $gnome-schema cursor-theme 'Adwaita'
gsettings set $gnome-schema font-name '$font'
gsettings set $gnome-schema font-name '$font_family $gtk_font_size'
}

View file

@ -4,7 +4,7 @@
include "/home/johannesloher/.gtkrc-2.0.mine"
gtk-theme-name="Arc-Darker"
gtk-icon-theme-name="Moka"
gtk-font-name="Roboto 14"
gtk-font-name="Roboto 11"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH