configure emoji support

This commit is contained in:
Pim Kunis 2023-01-20 18:02:18 +01:00
parent f5605945a2
commit 0230504c0d
2 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,11 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>monospace</family>
<prefer>
<family>DejaVu Sans Mono</family>
<family>Noto Color Emoji</family>
</prefer>
</alias>
</fontconfig>

View file

@ -17,7 +17,9 @@
- name: Install Alacritty - name: Install Alacritty
become: true become: true
apt: apt:
name: alacritty pkg:
- alacritty
- fonts-noto-color-emoji
- name: Create Alacritty config directory - name: Create Alacritty config directory
file: file:
path: ~/.config/alacritty path: ~/.config/alacritty
@ -26,3 +28,12 @@
copy: copy:
src: "{{ role_path }}/files/alacritty.yml" src: "{{ role_path }}/files/alacritty.yml"
dest: ~/.config/alacritty/alacritty.yml dest: ~/.config/alacritty/alacritty.yml
- name: Create fontconfig directory
file:
path: ~/.config/fontconfig
state: directory
recurse: true
- name: Copy font.conf
copy:
src: "{{ role_path }}/files/font.conf"
dest: ~/.config/fontconfig/font.conf