make fonts configurable

closes #77
This commit is contained in:
Pig Monkey 2018-04-07 17:55:19 -07:00
parent 2505781c49
commit 0882d14c74
2 changed files with 28 additions and 24 deletions

View file

@ -217,3 +217,28 @@ gdm:
touchpad:
tap_to_click: True
accessibility_menu: True
base_fonts:
- terminus-font
- cantarell-fonts
- noto-fonts
- ttf-dejavu
- ttf-liberation
- ttf-symbola
- gsfonts
- tex-gyre-fonts
- ttf-droid
- ttf-ubuntu-font-family
- ttf-inconsolata
aur_fonts:
- ttf-signika
- ttf-quintessential
- ttf-oswald
- ttf-opensans
- ttf-merriweather-sans
- ttf-merriweather
- ttf-carlito
- ttf-caladea
- ttf-courier-prime
- ttf-heuristica

View file

@ -26,33 +26,12 @@
- name: Push font substitutions
copy: src=local.conf dest=/etc/fonts/local.conf
- name: Install core fonts
- name: Install base fonts
pacman: name={{ item }} state=present
with_items:
- terminus-font
- cantarell-fonts
- noto-fonts
- ttf-dejavu
- ttf-liberation
- ttf-symbola
- gsfonts
- tex-gyre-fonts
- ttf-droid
- ttf-ubuntu-font-family
- ttf-inconsolata
with_items: "{{ base_fonts }}"
- name: Install AUR fonts
aur: name={{ item }} user={{ user.name }}
with_items:
- ttf-signika
- ttf-quintessential
- ttf-oswald
- ttf-opensans
- ttf-merriweather-sans
- ttf-merriweather
- ttf-carlito
- ttf-caladea
- ttf-courier-prime
- ttf-heuristica
with_items: "{{ aur_fonts }}"
tags:
- aur