Some Waybar options use variables (fonts, thermal)
This commit is contained in:
parent
798ddf4a60
commit
6884f050da
2 changed files with 7 additions and 19 deletions
|
@ -39,7 +39,7 @@ waybar_options:
|
|||
timezone: "Europe/Paris"
|
||||
format-alt: "{:%Y-%m-%d}"
|
||||
temperature:
|
||||
thermal-zone: 6
|
||||
thermal-zone: "{{ cpu_thermal_zone | default(6) }}"
|
||||
critical-threshold: 80
|
||||
format: "{temperatureC}°C "
|
||||
cpu:
|
||||
|
@ -123,7 +123,8 @@ waybar_style:
|
|||
fonts:
|
||||
bar:
|
||||
family: 'Fira Code Nerd Font'
|
||||
size: '12px'
|
||||
size: '{{ waybar_bar_font_size | default("12px") }}'
|
||||
tray:
|
||||
family: 'DejaVu sans'
|
||||
size: '12px'
|
||||
size: '{{ waybar_tray_font_size | default("12px") }}'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue