mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 15:01:59 +01:00
fix switch from font awesome 5 to 6 on arch only
This commit is contained in:
parent
b528fd6586
commit
d2521259c3
@ -1,6 +1,7 @@
|
||||
---
|
||||
font: jetbrains mono
|
||||
font: '"jetbrains mono"'
|
||||
font_size: 10
|
||||
font_icon: '"FontAwesome5FreeRegular", "FontAwesome5FreeSolid", "FontAwesome5Brands"'
|
||||
gtk_theme: Adwaita-dark
|
||||
icon_theme: Papirus-Dark
|
||||
git_name: eoli3n
|
||||
|
@ -1,6 +1,9 @@
|
||||
---
|
||||
- hosts: all
|
||||
gather_facts: yes
|
||||
tasks:
|
||||
- include_tasks: tasks/fontawesome.yml
|
||||
tags: [sway, waybar]
|
||||
|
||||
- hosts: cli:desktop
|
||||
roles:
|
||||
|
@ -15,7 +15,7 @@ input type:touchpad click_method clickfinger
|
||||
set $mod Mod4
|
||||
|
||||
# fonts
|
||||
font pango: {{ font }}, FontAwesome5Free, FontAwesome5Brands 10
|
||||
font pango: {{ font }}, {{ font_icon }} 10
|
||||
|
||||
# gaps
|
||||
default_border none
|
||||
|
@ -17,7 +17,7 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: "{{ font }}", "Font Awesome 5 Free Regular", "Font Awesome 5 Free Solid", "Font Awesome 5 Brands";
|
||||
font-family: {{ font }}, {{ font_icon }};
|
||||
font-size: 12px;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
|
5
tasks/fontawesome.yml
Normal file
5
tasks/fontawesome.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: set font awesome to 6 if archlinux
|
||||
set_fact:
|
||||
font_icon: '"FontAwesome6FreeRegular", "FontAwesome6FreeSolid", "FontAwesome6Brands"'
|
||||
when: ansible_distribution == 'Archlinux'
|
Loading…
Reference in New Issue
Block a user