{
"layer": "top",
"position": "top",
"modules-left": [
"sway/workspaces",
"network",
"custom/vpn",
"custom/brightness"
],
"modules-center": [],
"modules-right": [
"tray",
"pulseaudio",
"bluetooth",
"battery",
"clock"
],
"sway/workspaces": {
"all-outputs": true,
"format": "{name}"
},
"clock": {
"format": "{:%a, %b %d/%m/%y %H:%M}",
"interval": 60,
"tooltip-format": "{:%B %Y}\n{calendar}"
},
"tray": {
"icon-size": 16,
"spacing": 4
},
"battery": {
"interval": 60,
"max-length": 25,
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "BAT: {capacity}%",
"format-icons": {
"charging": "PWR: {capacity}%"
},
"format-plugged": "PLG: {capacity}%"
},
"bluetooth": {
"format": "BT: {num_connections}",
"format-disabled": "BT: DC'D",
"format-connected": "BT: {num_connections}",
"tooltip-format": "Devices connected: {num_connections}\n{device_alias} at {device_battery_percentage}%",
"on-click": "kitty --app-id=TUI.float -e bluetui",
"on-click-right": "rfkill toggle bluetooth"
},
"pulseaudio": {
"format": "{icon} {volume}",
"format-bluetooth": "BT: {icon} {volume}",
"format-muted": "X MUTED",
"format-icons": [
"+---",
"++--",
"+++-",
"++++"
],
"on-click": "pavucontrol-qt",
"tooltip-format": "{desc}",
"scroll-step": 5
},
"network": {
"interface": "wlo1",
"format": "{ifname}",
"format-wifi": "WiFi: {essid} {signalStrength}%",
"format-ethernet": "Eth: {ipaddr}/{cidr}",
"format-disconnected": "DC'D",
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
"tooltip-format-ethernet": "{ifname} via {gwaddr}",
"tooltip-format-disconnected": "DC'D",
"max-length": 50,
"interval": 60,
"on-click": "kitty --app-id TUI.float -e wifitui",
"on-click-right": "rfkill toggle wlan"
},
"custom/vpn": {
"format": "VPN: {}",
"exec": "~/.local/bin/waybar-vpn",
"return-type": "json",
"interval": 30
},
"custom/brightness": {
"format": "HDMI: {}%",
"interval": "once",
"signal": 9,
"exec": "~/.local/bin/waybar-brightness get",
"on-scroll-up": "~/.local/bin/waybar-brightness up",
"on-scroll-down": "~/.local/bin/waybar-brightness down",
"on-click": "~/.local/bin/waybar-brightness left_click",
"on-click-right": "~/.local/bin/waybar-brightness right_click"
}
}