mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-26 06:08:35 +01:00
added dynamic font config
This commit is contained in:
parent
0017e7638d
commit
9e4fd6d71c
2
group_vars/all.yml
Normal file
2
group_vars/all.yml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
font: jetbrains mono
|
@ -5,8 +5,8 @@
|
||||
state: directory
|
||||
|
||||
- name: copy alacritty conf file
|
||||
copy:
|
||||
src: alacritty.yml
|
||||
template:
|
||||
src: alacritty.j2
|
||||
dest: ~/.config/alacritty/alacritty.yml
|
||||
|
||||
- name: alias clear to clear -x to keep history scrolling
|
||||
|
@ -97,7 +97,7 @@ font:
|
||||
# - (macOS) Menlo
|
||||
# - (Linux/BSD) monospace
|
||||
# - (Windows) Consolas
|
||||
family: hack
|
||||
family: {{ font }}
|
||||
|
||||
# The `style` can be specified to pick a specific face.
|
||||
style: Regular
|
||||
@ -108,7 +108,7 @@ font:
|
||||
#
|
||||
# If the bold family is not specified, it will fall back to the
|
||||
# value specified for the normal font.
|
||||
family: hack
|
||||
family: {{ font }}
|
||||
|
||||
# The `style` can be specified to pick a specific face.
|
||||
style: Bold
|
||||
@ -119,7 +119,7 @@ font:
|
||||
#
|
||||
# If the italic family is not specified, it will fall back to the
|
||||
# value specified for the normal font.
|
||||
family: hack
|
||||
family: {{ font }}
|
||||
|
||||
# The `style` can be specified to pick a specific face.
|
||||
style: Italic
|
||||
@ -130,7 +130,7 @@ font:
|
||||
#
|
||||
# If the bold italic family is not specified, it will fall back to the
|
||||
# value specified for the normal font.
|
||||
family: hack
|
||||
family: {{ font }}
|
||||
|
||||
# The `style` can be specified to pick a specific face.
|
||||
style: Bold Italic
|
@ -5,6 +5,6 @@
|
||||
state: directory
|
||||
|
||||
- name: copy kitty conf file
|
||||
copy:
|
||||
src: kitty.conf
|
||||
dest: ~/.config/kitty/
|
||||
template:
|
||||
src: kitty.j2
|
||||
dest: ~/.config/kitty/kitty.conf
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Font
|
||||
font_family hack
|
||||
font_family {{ font }}
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
@ -10,7 +10,7 @@ input "MANUFACTURER1 Keyboard" xkb_model "pc101"
|
||||
set $mod Mod4
|
||||
|
||||
# fonts
|
||||
font pango: hack, FontAwesome5Free, FontAwesome5Brands 10
|
||||
font pango: {{ font }}, FontAwesome5Free, FontAwesome5Brands 10
|
||||
|
||||
# gaps
|
||||
default_border none
|
||||
|
@ -4,3 +4,8 @@
|
||||
synchronize:
|
||||
src: waybar
|
||||
dest: ~/.config/
|
||||
|
||||
- name: template styles.css
|
||||
template:
|
||||
src: styles.j2
|
||||
dest: ~/.config/waybar/styles.css
|
||||
|
@ -17,7 +17,7 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: Hack, "Font Awesome 5 Free Regular", "Font Awesome 5 Free Solid", "Font Awesome 5 Brands";
|
||||
font-family: "{{ font }}", "Font Awesome 5 Free Regular", "Font Awesome 5 Free Solid", "Font Awesome 5 Brands";
|
||||
font-size: 12px;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
Loading…
Reference in New Issue
Block a user