desktop-playbook/group_vars/all/waybar.yml

130 lines
2.7 KiB
YAML

---
waybar_options:
layer: "top"
spacing: 6
disable-toolptips: true
modules-left:
- sway/workspaces
- sway/mode
modules-center: []
modules-right:
- network
- custom/sep
- temperature
- memory
- cpu
- custom/sep
- backlight
- battery
- custom/sep
- pulseaudio
- custom/sep
- clock
- custom/sep
- tray
sway/mode:
format: '<span style="italic">{}</span>'
custom/sep:
format: "|"
tooltip: false
sway/workspace:
disable-scroll: true
idle_inhibitor:
format: "{icon}"
format-icons:
activated:
deactivated:
clock:
tooltip: false
timezone: "Europe/Paris"
format-alt: "{:%Y-%m-%d}"
temperature:
thermal-zone: "{{ cpu_thermal_zone | default(6) }}"
critical-threshold: 80
format: "{temperatureC}°C  "
cpu:
format: "{usage}% {icon}"
tooltip: false
states:
warning: 70
critical: 90
format-icons:
-
backlight:
format: "{percent}% {icon}"
format-icons:
- 󰌶
- 󱩏
- 󱩐
- 󱩐
- 󱩑
- 󱩒
- 󱩓
- 󱩔
- 󱩕
- 󱩖
- 󰛨
tooltip: false
battery:
tooltip: false
states:
full: 100
warning: 30
critical: 15
format: "{capacity}% {icon} "
format-charging: "{capacity}% 󰓦"
format-plugged: "{capacity}% "
format-alt: "{time} {icon}"
format-icons:
-
-
-
-
-
network:
tooltip: false
format-wifi: "{essid} ({signalStrength}%)  "
format-ethernet: "{ifname}: {ipaddr}/{cidr} 󰈀 "
format-linked: "{ifname} (No IP) 󰈀 "
format-disconnected: "Disconnected ⚠ "
format-alt: "{ifname}: {ipaddr}/{cidr}"
pulseaudio:
tooltip: false
format: "{format_source} {volume}% {icon} "
format-bluetooth: "{volume}% {icon}"
format-muted: "{format_source} 󰝟 "
format-source: "{volume}%  "
format-source-muted: " "
format-icons:
headphones: 󰋋
handsfree: 󰋎
headset: 󰋎
phone:
portable:
car:
default:
memory:
interval: 30
states:
warning: 70
critical: 90
format: "{used:0.1f}G/{total:0.1f}G "
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: '{{ waybar_bar_font_size | default("12px") }}'
tray:
family: 'DejaVu sans'
size: '{{ waybar_tray_font_size | default("12px") }}'