Add desktop font fallback config for tmux symbols

This commit is contained in:
Fabio Scotto di Santolo
2026-03-17 10:46:40 +01:00
parent cf86fcdc81
commit a94c34e053
3 changed files with 25 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ profile_packages:
- xclip
- xss-lock
- playerctl
- nerd-fonts-symbols-ttf
- network-manager-applet
- chromium
- mpv
@@ -68,6 +69,10 @@ desktop_dotfiles:
src: .config/fastfetch/
dest: .config/fastfetch/
mode: preserve
- name: fontconfig fallback
src: .config/fontconfig/
dest: .config/fontconfig/
mode: preserve
- name: yt-dlp config
src: .config/yt-dlp/
dest: .config/yt-dlp/

View File

@@ -40,6 +40,13 @@
loop_control:
label: "{{ item.dest }}"
- name: Refresh user font cache
ansible.builtin.command: fc-cache -f
become_user: "{{ username }}"
environment:
HOME: "{{ user_home }}"
changed_when: false
- name: Ensure .gnupg directory exists
ansible.builtin.file:
path: "{{ user_home }}/.gnupg"

View File

@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>monospace</family>
<prefer>
<family>Liberation Mono</family>
<family>Symbols Nerd Font Mono</family>
<family>Symbols Nerd Font</family>
<family>Noto Color Emoji</family>
</prefer>
</alias>
</fontconfig>