From e9ca55019edfe87c5392db7d578b8980b4bc20af Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Mon, 12 Nov 2018 17:09:52 +0100 Subject: [PATCH] Fix(fonts): Get ok fonts? --- files/Xdefaults | 2 +- tasks/arch_graphicals.yml | 27 +++++++++++++-------------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/files/Xdefaults b/files/Xdefaults index 2858d54..6c60575 100644 --- a/files/Xdefaults +++ b/files/Xdefaults @@ -1,6 +1,6 @@ !*.font: xft:monospace:size=9 ! URxvt*font: xft:Ubuntu Mono derivative Powerline:size=9 -URxvt*font: xft:Ubuntu Mono derivative Powerline:pixelsize=14:antialias=true:hinting=true +URxvt.font: xft:Ubuntu Mono derivative Powerline:pixelsize=14,xft:Droid Sans Mono for Powerline:pixelsize=14,xft:DejaVu Sans Mono:pixelsize=14,xft:Droid Sans Fallback:pixelsize=14,xft:FreeSans:pixelsize=14,xft:FreeSans:pixelsize=14 URxvt*scrollBar: false URxvt.perl-ext-common: default,fullscreen,resize-font diff --git a/tasks/arch_graphicals.yml b/tasks/arch_graphicals.yml index 8be328b..300d6ae 100644 --- a/tasks/arch_graphicals.yml +++ b/tasks/arch_graphicals.yml @@ -37,7 +37,6 @@ - name: Install fonts pacman: name: - - powerline-fonts - awesome-terminal-fonts - cantarell-fonts - gnu-free-fonts @@ -52,19 +51,19 @@ - noto-fonts state: present - # - name: Install AUR fonts - # aur: - # name: "{{ item }}" - # use: makepkg - # skip_installed: true - # with_items: - # - ttf-ubuntu-mono-derivative-powerline-git - # - ttf-roboto-mono-powerline-git - # - ttf-inconsolata-lgc-for-powerline - # - ttf-droid-sans-mono-slashed-powerline-git - # - ttf-literation-mono-powerline-git - # become: yes - # become_user: aur_builder +- name: Install AUR fonts + aur: + name: "{{ item }}" + use: makepkg + skip_installed: true + with_items: + - ttf-ubuntu-mono-derivative-powerline-git + - ttf-roboto-mono-powerline-git + - ttf-inconsolata-lgc-for-powerline + - ttf-droid-sans-mono-slashed-powerline-git + - ttf-literation-mono-powerline-git + become: yes + become_user: aur_builder