Switch to custom templating library
This commit is contained in:
@ -23,13 +23,13 @@ window:
|
||||
# The FreeType rasterizer needs to know the device DPI for best results
|
||||
# (changes require restart)
|
||||
dpi:
|
||||
{% if hostname == 'vostok' %}
|
||||
{% if hostname == "vostok" %}
|
||||
x: 209.9
|
||||
y: 209.9
|
||||
{% else %}
|
||||
x: 96.0
|
||||
y: 96.0
|
||||
{% end if %}
|
||||
{% end %}
|
||||
|
||||
# When true, bold text is drawn using the bright variant of colors.
|
||||
draw_bold_text_with_bright_colors: true
|
||||
@ -37,46 +37,46 @@ draw_bold_text_with_bright_colors: true
|
||||
# Font configuration (changes require restart)
|
||||
font:
|
||||
normal:
|
||||
{% if hostname == 'sputnik' %}
|
||||
{% if hostname == "sputnik" %}
|
||||
family: SauceCodePro Nerd Font
|
||||
{% else if hostname == 'vostok' %}
|
||||
{% elif hostname == "vostok" %}
|
||||
family: Source Code Pro for Powerline
|
||||
{% else %}
|
||||
family: monospace
|
||||
{% end if %}
|
||||
{% end %}
|
||||
|
||||
style: Regular
|
||||
|
||||
bold:
|
||||
{% if hostname == 'sputnik' %}
|
||||
{% if hostname == "sputnik" %}
|
||||
family: SauceCodePro Nerd Font
|
||||
{% else if hostname == 'vostok' %}
|
||||
{% elif hostname == "vostok" %}
|
||||
family: Source Code Pro for Powerline
|
||||
{% else %}
|
||||
family: monospace
|
||||
{% end if %}
|
||||
{% end %}
|
||||
|
||||
style: Bold
|
||||
|
||||
italic:
|
||||
{% if hostname == 'sputnik' %}
|
||||
{% if hostname == "sputnik" %}
|
||||
family: SauceCodePro Nerd Font
|
||||
{% else if hostname == 'vostok' %}
|
||||
{% elif hostname == "vostok" %}
|
||||
family: Source Code Pro for Powerline
|
||||
{% else %}
|
||||
family: monospace
|
||||
{% end if %}
|
||||
{% end %}
|
||||
|
||||
style: Italic
|
||||
|
||||
# Point size of the font
|
||||
{% if hostname == 'sputnik' %}
|
||||
{% if hostname == "sputnik" %}
|
||||
size: 11.0
|
||||
{% else if hostname == 'vostok' %}
|
||||
{% elif hostname == "vostok" %}
|
||||
size: 10.0
|
||||
{% else %}
|
||||
size: 11.0
|
||||
{% end if %}
|
||||
{% end %}
|
||||
|
||||
# Offset is the extra space around each character. offset.y can be thought of
|
||||
# as modifying the linespacing, and offset.x as modifying the letter spacing.
|
||||
@ -92,7 +92,7 @@ debug:
|
||||
#background_opacity: 0.91
|
||||
background_opacity: 1.0
|
||||
|
||||
{% if lightmode %}
|
||||
{% if light %}
|
||||
# Colors (Gruvbox light)
|
||||
colors:
|
||||
# Default colors
|
||||
@ -123,9 +123,9 @@ colors:
|
||||
magenta: '0x8f3f71'
|
||||
cyan: '0x427b58'
|
||||
white: '0x3c3836'
|
||||
{% end if %}
|
||||
{% end %}
|
||||
|
||||
{% if darkmode %}
|
||||
{% if dark %}
|
||||
# Colors (Gruvbox dark)
|
||||
colors:
|
||||
# Default colors
|
||||
@ -156,7 +156,7 @@ colors:
|
||||
magenta: '0xd3869b'
|
||||
cyan: '0x8ec07c'
|
||||
white: '0xebdbb2'
|
||||
{% end if %}
|
||||
{% end %}
|
||||
|
||||
# Visual Bell
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user