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") }}'
|
||||
|
||||
|
|
|
@ -1,17 +1,4 @@
|
|||
---
|
||||
waybar_style:
|
||||
colors:
|
||||
bg: '#323232'
|
||||
fg: '#ddd'
|
||||
hover: '#f268b3'
|
||||
selected: '#1cd180'
|
||||
ok: '#1cd180'
|
||||
warning: '#f2b768'
|
||||
critical: '#f268b3'
|
||||
fonts:
|
||||
bar:
|
||||
family: 'Fira Code Nerd Font'
|
||||
size: '14px'
|
||||
tray:
|
||||
family: 'DejaVu sans'
|
||||
size: '14px'
|
||||
cpu_thermal_zone: 0
|
||||
waybar_bar_font_size: '14px'
|
||||
waybar_tray_font_size: '14px'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue