2021-02-05 09:09:36 -06:00
|
|
|
{
|
|
|
|
"layer": "top", // Waybar at top layer
|
|
|
|
"height": 40, // Waybar height (to be removed for auto height)
|
|
|
|
"modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
|
|
|
|
"modules-center": ["tray"],
|
|
|
|
"modules-right": ["pulseaudio", "battery", "clock"],
|
|
|
|
"sway/workspaces": {
|
|
|
|
"disable-scroll": true
|
|
|
|
},
|
|
|
|
"tray": {
|
|
|
|
"icon-size": 16,
|
|
|
|
"spacing": 10
|
|
|
|
},
|
|
|
|
"clock": {
|
|
|
|
"format": "{:%a %b %d %I:%M %p}",
|
|
|
|
"format-alt": "{:%Y-%m-%d}",
|
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
"battery": {
|
|
|
|
"states": {
|
|
|
|
// "good": 95,
|
|
|
|
"warning": 30,
|
|
|
|
"critical": 15
|
|
|
|
},
|
|
|
|
"format": "{icon}",
|
|
|
|
"format-charging": "{icon}",
|
|
|
|
"format-plugged": "{icon}",
|
|
|
|
"format-icons": ["", "", "", "", ""]
|
|
|
|
},
|
|
|
|
"pulseaudio": {
|
|
|
|
"scroll-step": 0,
|
2024-02-12 18:34:26 -06:00
|
|
|
"format": "{icon} {volume}%",
|
2021-02-05 09:09:36 -06:00
|
|
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
|
|
|
"format-bluetooth-muted": " {icon} {format_source}",
|
|
|
|
"format-muted": " {format_source}",
|
|
|
|
"format-source": "{volume}% ",
|
|
|
|
"format-source-muted": "",
|
|
|
|
"format-icons": {
|
|
|
|
"headphones": "",
|
|
|
|
"handsfree": "",
|
|
|
|
"headset": "",
|
|
|
|
"phone": "",
|
|
|
|
"portable": "",
|
|
|
|
"car": "",
|
|
|
|
"default": ["", "", ""]
|
|
|
|
},
|
|
|
|
"on-click": "pavucontrol-qt"
|
|
|
|
}
|
|
|
|
}
|