dotfiles-guix/home-config/waybar/config

80 lines
1.9 KiB
Text

{
"height": 24,
"spacing": 4,
"modules-left": [
"sway/workspaces",
"sway/window"
],
"modules-center": [],
"modules-right": [
"cpu",
"memory",
"temperature",
"battery",
"backlight",
"pulseaudio",
"network",
"clock",
"tray"
],
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "{name}"
},
"tray": {
"spacing": 10
},
"clock": {
"interval": 1,
"format": "{:%Y-%m-%d %a %H:%M:%S}"
},
"cpu": {
"interval": 1,
"format": " {usage}%",
"tooltip": false
},
"memory": {
"interval": 1,
"format": " {}%",
"tooltip": false
},
"temperature": {
"interval": 1,
"thermal-zone": 1,
"critical-threshold": 80,
"format": " {temperatureC}°"
},
"battery": {
"interval": 1,
"states": {
"warning": 30,
"critical": 15
},
"format": " {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-full": " {capacity}%",
"format-warning": " {capacity}%",
"format-critical": " {capacity}%"
},
"backlight": {
"format": " {percent}%"
},
"pulseaudio": {
"format": " {volume}%",
"format-bluetooth": " {volume}%",
"format-muted": " muted",
"scroll-step": 1,
"on-click": "pavucontrol",
"ignored-sinks": ["Easy Effects Sink"]
},
"network": {
"format": " disconnected",
"format-wifi": " {essid}",
"format-ethernet": "< {ipaddr}/{cidr}",
"format-disconnected": " disconnected",
"max-length": 50,
"on-click": "nm-connection-editor",
}
}