feat(role): add fonts
Add and use JetBrains Mono.
This commit is contained in:
parent
4e2256ee03
commit
75e52b5e2e
|
@ -4,7 +4,7 @@ window:
|
||||||
|
|
||||||
font:
|
font:
|
||||||
normal:
|
normal:
|
||||||
family: MesloLGM Nerd Font Mono
|
family: JetBrainsMono Nerd Font Mono
|
||||||
style: Regular
|
style: Regular
|
||||||
bold:
|
bold:
|
||||||
style: Regular
|
style: Regular
|
||||||
|
|
14
roles/fonts/tasks/main.yaml
Normal file
14
roles/fonts/tasks/main.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
- name: Download
|
||||||
|
ansible.builtin.get_url:
|
||||||
|
dest: "{{ font_item.dest }}"
|
||||||
|
url: "{{ font_item.url }}"
|
||||||
|
loop_control:
|
||||||
|
loop_var: font_item
|
||||||
|
loop:
|
||||||
|
- url: "https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/JetBrainsMono/Ligatures/Regular/complete/JetBrains%20Mono%20Regular%20Nerd%20Font%20Complete%20Mono.ttf?raw=true"
|
||||||
|
dest: /usr/share/fonts/truetype/JetBrainsMono Nerd Font Regular
|
||||||
|
|
||||||
|
- url: "https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/JetBrainsMono/Ligatures/Italic/complete/JetBrains%20Mono%20Italic%20Nerd%20Font%20Complete%20Mono.ttf?raw=true"
|
||||||
|
dest: /usr/share/fonts/truetype/JetBrainsMono Nerd Font Italic
|
||||||
|
become: true
|
Loading…
Reference in a new issue