This commit is contained in:
DeveloperDurp
2022-10-30 17:57:19 -05:00
parent 350e622f25
commit 9c9229966d
5 changed files with 57 additions and 9 deletions

View File

@@ -70,17 +70,19 @@
- name: FiraCode exists
become_user: user
shell: "ls ~/.fonts/*Fira*Code*"
shell: "ls ~/.fonts/*{{ item.name }}*"
register: FiraCode_exists
ignore_errors: yes
with_items: "{{ fonts }}"
- name: Download FiraCode
when: FiraCode_exists is failed
become_user: user
ansible.builtin.unarchive:
src: https://github.com/ryanoasis/nerd-fonts/releases/download/v2.2.2/FiraCode.zip
src: "{{ item.url }}"
dest: "~/.fonts/"
remote_src: yes
with_items: "{{ fonts }}"
- name: Start and enable services
ansible.builtin.systemd:

View File

@@ -53,8 +53,13 @@ required_flatpak_packages:
- org.gnome.calculator
- org.gnome.baobab
- org.gnome.firmware
- org.gnome.Screenshot
#- org.gnome.Screenshot
- org.gnome.eog
- org.videolan.VLC
services_to_enable:
- touchegg
- touchegg
fonts:
- {url: https://github.com/ryanoasis/nerd-fonts/releases/download/v2.2.2/FiraMono.zip, name: 'Fira*Mono*'}
- {url: https://github.com/ryanoasis/nerd-fonts/releases/download/v2.2.2/FiraCode.zip, name: 'Fira*Code*'}