mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Add desktop font fallback config for tmux symbols
This commit is contained in:
@@ -24,6 +24,7 @@ profile_packages:
|
|||||||
- xclip
|
- xclip
|
||||||
- xss-lock
|
- xss-lock
|
||||||
- playerctl
|
- playerctl
|
||||||
|
- nerd-fonts-symbols-ttf
|
||||||
- network-manager-applet
|
- network-manager-applet
|
||||||
- chromium
|
- chromium
|
||||||
- mpv
|
- mpv
|
||||||
@@ -68,6 +69,10 @@ desktop_dotfiles:
|
|||||||
src: .config/fastfetch/
|
src: .config/fastfetch/
|
||||||
dest: .config/fastfetch/
|
dest: .config/fastfetch/
|
||||||
mode: preserve
|
mode: preserve
|
||||||
|
- name: fontconfig fallback
|
||||||
|
src: .config/fontconfig/
|
||||||
|
dest: .config/fontconfig/
|
||||||
|
mode: preserve
|
||||||
- name: yt-dlp config
|
- name: yt-dlp config
|
||||||
src: .config/yt-dlp/
|
src: .config/yt-dlp/
|
||||||
dest: .config/yt-dlp/
|
dest: .config/yt-dlp/
|
||||||
|
|||||||
@@ -40,6 +40,13 @@
|
|||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.dest }}"
|
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
|
- name: Ensure .gnupg directory exists
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ user_home }}/.gnupg"
|
path: "{{ user_home }}/.gnupg"
|
||||||
|
|||||||
13
dotfiles/desktop/.config/fontconfig/fonts.conf
Normal file
13
dotfiles/desktop/.config/fontconfig/fonts.conf
Normal 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>
|
||||||
Reference in New Issue
Block a user