{
"layer": "top",
"position": "top",
"mod": "dock",
"exclusice": true,
"passthrough": false,
"gtk-layer-shell": true,
"height": 0,
"modules-left": [
"hyprland/workspaces"
],
"modules-center": ["hyprland/window"],
"modules-right": [
"tray",
"custom/updates",
"hyprland/language",
"pulseaudio",
"pulseaudio#microphone",
"clock",
"custom/weather"
],
"hyprland/window": {
"format": {}
},
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"on-click": "activate",
"persisten_workspaces": {
"1": []
}
},
"hyprland/language": {
"format": "{}",
"format-en": "EN",
"format-ro": "RO"
},
"custom/weather": {
"tooltip": true,
"format": "{}",
"interval": 30,
"exec": "~/.config/waybar/scripts/waybar-wttr.py",
"return-type": "json"
},
"tray": {
"icon-size": 16,
"spacing": 10
},
"clock": {
"format": "{:%R %d%M}",
"tooltip-format": "{:%Y %B}\n{calendar}"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"tooltip": false,
"format-muted": "Muted",
"on-click": "pamixer -t",
"on-scroll-up": "pamixer -i 5",
"on-scroll-down": "pamixer -d 5",
"scroll-step": 5
// "format-icons": {
// "headphones": "",
// "hands-free": "",
// "headset": "",
// "phone": "",
// "portable": "",
// "car": "",
// "default": ["", "", ""]
// }
},
"pulseaudio#microphone": {
"format": "{format_source}",
"format-source": "{volume}%",
"format-source-muted": "Muted",
"on-click": "pamixer --default-source -t",
"on-scroll-up": "pamixer --default-source -i 5",
"on-scroll-down": "pamixer --default-source -d 5",
"scroll-step": 5
}
}