dotfiles/desktop-gruvbox-sway/.config/waybar/config
2024-02-13 20:02:16 -06:00

50 lines
1.2 KiB
Plaintext

{
"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": 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"
}
}