dotfiles/desktop-gruvbox-sway/.config/waybar/config

50 lines
1.1 KiB
Plaintext

{
"layer": "top",
"height": 40,
"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": 100,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": "{icon} {capacity}%",
"format-plugged": "{icon} {capacity}%",
"format-icons": ["", "", "", "", ""]
},
"pulseaudio": {
"scroll-step": 0,
"format": "{icon} {volume}%",
"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"
}
}