{
"position": "bottom",
"modules-left": ["river/tags", "river/window"],
"modules-center": [],
"modules-right": ["tray", "bluetooth", "network", "custom/audio", "battery", "clock"],
"river/tags": {
"num-tags": 9
},
"river/window": {
"max-length": 80
},
"clock": {
//"format": "{:%d.%m. %b, %a %H:%M}",
"format": "{:%b %d (%a) %I:%M:%S %p}",
"timezone": "Europe/Prague",
"locale": "en_US.UTF-8",
"interval": 1,
"tooltip-format": "{calendar}",
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"format": {
"months": "{}",
"days": "{}",
"weeks": "W{}",
"weekdays": "{}",
"today": "{}"
}
},
"actions": {
"on-click-right": "mode",
"on-click-forward": "tz_up",
"on-click-backward": "tz_down",
"on-scroll-up": "shift_up",
"on-scroll-down": "shift_down"
}
},
"network": {
"interface": "eth0",
"format-ethernet": " {ifname}: {ipaddr}",
"format-disconnected": " ",
"tooltip-format-ethernet": "{ifname}: {ipaddr}",
"tooltip-format-disconnected": "Disconnected",
//"on-click": "foot -e nmtui",
//"on-click-right": "~/.scripts/restart_network.sh"
},
"bluetooth": {
"on-click": "foot bluetuith",
"on-click-right": "~/.scripts/toggle_bluetooth.sh",
"format-on": "",
"format-off": "",
"format-disabled": "",
"format-connected": ""
},
//"wireplumber": {
// "format": "{icon} {volume}%",
// "format-muted": " muted",
// "on-click": "pavucontrol -t 3",
// "on-click-right": "pamixer --toggle-mute",
// "max-volume": 125,
// "format-icons": ["", "", ""]
//},
"custom/audio": {
"exec": "~/.local/bin/waybar_audio.sh",
"signal": 8,
"return-type": "json",
"format": "{icon} {text}",
"format-icons": {
"speaker": ["", "", " "],
"speaker-muted": "",
"headphones": "",
"headphones-muted": ""
},
"interval": 2,
"on-click": "pamixer --toggle-mute",
"on-click-right": "~/.local/bin/toggle_audio",
"on-scroll-up": "pamixer --increase 5",
"on-scroll-down": "pamixer --decrease 5"
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format":"{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": "",
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
"interval": 30,
"tooltip-format": "{time}",
},
"tray": {
"spacing": 10
}
}