From bb9926a9c2be2721eb91225a91a755ddb04f8ffb Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 24 Jan 2023 08:43:47 +0000 Subject: [PATCH] Install Courier Prime font --- roles/home-gui/tasks/fonts.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roles/home-gui/tasks/fonts.yml b/roles/home-gui/tasks/fonts.yml index 8d149c9..dfdc7bc 100644 --- a/roles/home-gui/tasks/fonts.yml +++ b/roles/home-gui/tasks/fonts.yml @@ -50,3 +50,14 @@ src: "https://github.com/be5invis/Iosevka/releases/download/v{{ iosevka_version }}/super-ttc-iosevka-{{ iosevka_version }}.zip" dest: "{{ font_dir }}/iosevka" creates: "{{ font_dir }}/iosevka/iosevka.ttc" + +- name: Create courier-prime font directory + ansible.builtin.file: + path: "{{ font_dir }}/courier-prime" + state: directory +- name: Extract Courier Prime fonts + ansible.builtin.unarchive: + remote_src: yes + src: "https://quoteunquoteapps.com/courierprime/downloads/courier-prime.zip" + dest: "{{ font_dir }}/courier-prime" + creates: "{{ font_dir }}/courier-prime/Courier Prime/Courier Prime.ttf"