Commit 04d8143c authored by Martin's avatar Martin

add font config

parent f29c4d05
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<edit name="family" mode="prepend">
<string>Noto Color Emoji</string>
</edit>
</match>
<match>
<test name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend">
<string>Hack</string>
</edit>
</match>
<match>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans</string>
</edit>
</match>
<match>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Serif</string>
</edit>
</match>
</fontconfig>
- name: Regenerate font cache
listen: "regenerate font cache"
become: yes
become_user: "{{ username }}"
shell: /usr/bin/fc-cache
- name: Set up font config
when: user_accts.stdout.find('answerDE="yes"') != -1
notify: "regenerate font cache"
copy:
mode: '0644'
owner: root
group: root
src: "./local.conf"
dest: "/etc/fonts/local.conf"
......@@ -19,6 +19,7 @@
- { role: config.locale, tags: [ 'config.locale' ] } # Configure locale to en_GB (with exceptions)
- { role: config.mail, tags: [ 'config.mail' ] } # Configure postfix relay so my servers can send mail
- { role: config.misc, tags: [ 'config.misc' ] } # Configure all kinds of stuff
- { role: config.fonts, tags: [ 'config.fonts' ] } # Configure fonts - Needed to fix emoji in KDE
- { role: config.sshd, tags: [ 'config.sshd' ] } # Configure sshd
- { role: config.users, tags: [ 'config.users' ] } # Configure things for users
- { role: config.qemu, tags: [ 'config.qemu' ] } # Configure UEFI VMs for QEMU
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment