Install Waybar with dedicated role
This commit is contained in:
parent
829cef32d0
commit
7305399693
4 changed files with 130 additions and 202 deletions
129
group_vars/all/waybar.yml
Normal file
129
group_vars/all/waybar.yml
Normal file
|
@ -0,0 +1,129 @@
|
|||
---
|
||||
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: 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: '12px'
|
||||
tray:
|
||||
family: 'DejaVu sans'
|
||||
size: '12px'
|
Loading…
Add table
Add a link
Reference in a new issue