85 lines
2.1 KiB
Text
85 lines
2.1 KiB
Text
{
|
|
"height": 24,
|
|
"spacing": 4,
|
|
"modules-left": [
|
|
"sway/workspaces",
|
|
"sway/window"
|
|
],
|
|
"modules-center": [],
|
|
"modules-right": [
|
|
"custom/cmus",
|
|
"custom/newsboat",
|
|
"wireplumber",
|
|
"backlight",
|
|
"cpu",
|
|
"memory",
|
|
"temperature",
|
|
"battery",
|
|
"clock",
|
|
"tray",
|
|
],
|
|
"sway/workspaces": {
|
|
"disable-scroll": true,
|
|
"all-outputs": true,
|
|
"format": "{name}"
|
|
},
|
|
"tray": {
|
|
"spacing": 10
|
|
},
|
|
"clock": {
|
|
"timezone": "America/New_York",
|
|
"format": "{:%Y-%m-%d %a %H:%M}",
|
|
"tooltip": true,
|
|
"tooltip-format": "{:%A, %Y %B %d %H:%M:%S}",
|
|
"interval": 1
|
|
},
|
|
"cpu": {
|
|
"format": " {usage}%",
|
|
"tooltip": true,
|
|
"interval": 2
|
|
},
|
|
"memory": {
|
|
"format": " {percentage}%",
|
|
"tooltip": true,
|
|
"tooltip-format": "{used} / {total} GiB, {swapPercentage}% swap",
|
|
"interval": 2
|
|
},
|
|
"temperature": {
|
|
"thermal-zone": 10,
|
|
"critical-threshold": 80,
|
|
"format": " {temperatureC}°",
|
|
"interval": 2
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": " {capacity}%",
|
|
"format-charging": " {capacity}%",
|
|
"format-plugged": " {capacity}%",
|
|
"format-full": " {capacity}%",
|
|
"format-warning": " {capacity}%",
|
|
"format-critical": " {capacity}%",
|
|
"interval": 15
|
|
},
|
|
"wireplumber": {
|
|
"format": " {volume}%",
|
|
"format-muted": " mute",
|
|
"on-click": "pavucontrol",
|
|
"ignored-sinks": ["Easy Effects Sink"]
|
|
},
|
|
"backlight": {
|
|
"format": " {percent}%"
|
|
},
|
|
"custom/cmus": {
|
|
"return-type": "json",
|
|
"exec": "$HOME/.config/waybar/custom_cmus.lua 2> /dev/null"
|
|
},
|
|
"custom/newsboat": {
|
|
"format": " {}",
|
|
"exec": "$HOME/.config/waybar/custom_newsboat.sh 2> /dev/null",
|
|
"on-click": "alacritty -e newsboat -r"
|
|
}
|
|
}
|