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