test fonts

This commit is contained in:
2022-10-29 19:00:34 -05:00
parent 7939a109c3
commit 223d7d2cac
2 changed files with 17 additions and 2 deletions

View File

@@ -61,3 +61,20 @@
- name: set gui
shell:
cmd: systemctl set-default graphical.target
- name: ensure fonts directory
file:
path: "{{ lookup('env', 'HOME') }}/.fonts"
state: directory
- name: FiraCode exists
shell: "ls {{ lookup('env', 'HOME') }}/.fonts/*FiraCode*"
register: FiraCode_exists
ignore_errors: yes
- name: Download FiraCode
when: FiraCode_exists is failed
ansible.builtin.unarchive:
src: https://github.com/ryanoasis/nerd-fonts/releases/download/v2.2.2/FiraCode.zip
dest: "{{ lookup('env', 'HOME') }}/.fonts/"
remote_src: yes

View File

@@ -2,8 +2,6 @@ required_packages:
- firefox
- flatpak
- powershell
- gnome-tweaks
#- gnome-shell-extensions
- git
- zsh
- dotnet-sdk-3.1