{ "layer": "top", "position": "top", "modules-left": [ "clock", "mpris", "niri/window" ], "modules-center": [ "custom/workspaces" ], "modules-right": [ "tray", "network", "pulseaudio", "bluetooth", "memory", "battery" ], "niri/workspaces": { "current-only": true, "format": "{icon}", "all-outputs": false // usually keep false so each monitor shows its own active workspace }, "niri/window": { "format": "{app_id}" }, "mpris": { "format": "{status_icon} {artist} - {title}", "format-paused": "{status_icon} {artist} - {title}", "player-icons": { "default": "▶", "mpv": "🎵" }, "status-icons": { "paused": "⏸" } }, "clock": { "format": "{:%a, %b %d %H:%M}", "format-alt": "{:%Y-%m-%d}" }, "memory": { "format": " {used}GiB" }, "battery": { "states": { "good": 95, "warning": 30, "critical": 15 }, "format": "{icon} {capacity}%", "format-icons": { "default": [ "", "", "", "", "" ], "charging": "" }, "format-plugged": " {capacity}%" }, "bluetooth": { "format": " {num_connections}", "format-disabled": "󰂲", "format-connected": " {num_connections}", "tooltip-format": "Devices connected: {num_connections}\n{device_alias} at {device_battery_percentage}%", "on-click": "$TERMINAL --app-id=TUI.float -e bluetui", "on-click-right": "rfkill toggle bluetooth" }, "pulseaudio": { "format": "{icon} {volume}%", "format-bluetooth": " {icon} {volume}%", "format-muted": "", "format-icons": { "alsa_output.pci-0000_00_1f.3.analog-stereo": "", "alsa_output.pci-0000_00_1f.3.analog-stereo-muted": "", "headphone": "", "hands-free": "", "headset": "", "phone": "", "phone-muted": "", "portable": "", "car": "", "default": [ "", "" ] }, "on-click": "$TERMINAL --app-id=TUI.float -e wiremix", "tooltip-format": "{desc}", "scroll-step": 5 }, "network": { "interface": "wlo1", "format": "{ifname}", "format-wifi": " {signalStrength}%", "format-ethernet": " {ipaddr}/{cidr}", "format-disconnected": "󰖪", //An empty format will hide the module. "tooltip-format": " {ifname} via {gwaddr}", "tooltip-format-wifi": " {essid} {signalStrength}%", "tooltip-format-ethernet": "{ifname}", "tooltip-format-disconnected": "󰖪", "max-length": 50, "interval": 60, "on-click": "$TERMINAL --app-id TUI.float -e wifitui", "on-click-right": "rfkill toggle wlan" }, "custom/workspaces": { "exec": "~/.config/waybar/niri-workspaces", "return-type": "json", "format": "{}" } }