Enable Noto fonts by default

This commit is contained in:
Anthony Rose 2021-12-30 15:12:17 +00:00
parent 760e500f46
commit 96fcf81aee
3 changed files with 11 additions and 0 deletions

View file

@ -21,6 +21,8 @@
vars:
packages:
- git-gui
- google-noto-sans-fonts
- google-noto-serif-fonts
- liberation-fonts
- vim-X11
- name: Check for Gnome Shell

View file

@ -52,6 +52,7 @@
<alias>
<family>serif</family>
<prefer>
<family>Noto Serif</family>
<family>DejaVu Serif</family>
<family>Bitstream Vera Serif</family>
<family>Times New Roman</family>
@ -66,6 +67,7 @@
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans</family>
<family>DejaVu Sans</family>
<family>Bitstream Vera Sans</family>
<family>Verdana</family>
@ -82,6 +84,7 @@
<alias>
<family>monospace</family>
<prefer>
<family>Noto Sans Mono</family>
<family>DejaVu Sans Mono</family>
<family>Bitstream Vera Sans Mono</family>
<family>Inconsolata</family>

View file

@ -89,6 +89,12 @@ set_misc_preferences () {
gsettings set org.gnome.desktop.background primary-color '#023c88'
gsettings set org.gnome.desktop.background secondary-color '#5789ca'
gsettings set org.gnome.desktop.background color-shading-type 'solid'
# Configure fonts.
gsettings set org.gnome.desktop.interface document-font-name 'Noto Sans 11'
gsettings set org.gnome.desktop.interface font-name 'Noto Sans 11'
gsettings set org.gnome.desktop.interface monospace-font-name 'Monospace 11'
gsettings set org.gnome.desktop.wm.preferences titlebar-font 'Noto Sans Bold 11'
}
set_misc_preferences