// Author: Jianqun (https://jianqun.me) // Updated: 2026-05-31 { "layer": "top", "position": "top", "height": 30, "spacing": 4, "reload_style_on_change": true, "modules-left": [ "niri/window" ], "modules-center": [ "clock" ], "modules-right": [ "network", "cpu", "memory", "disk", "pulseaudio", "tray" ], "niri/window": { "format": "{title}", "icon": true, "icon-size": 16, "tooltip": true, "max-length": 50 }, "clock": { "interval": 1, "format": "{:%T}", "tooltip-format": "{:%B %d, %Y (%A)}" }, "network": { "interval": 2, "format": "NET —", "format-wifi": "NET {bandwidthTotalBytes}", "format-ethernet": "NET {bandwidthTotalBytes}", "format-disconnected": "NET ✗", "format-disabled": "NET ✗", "tooltip-format": "Network Interface: {ifname}", "tooltip-format-wifi": "Network Interface: {ifname}\nSSID: {essid}\nFrequency: {frequency}GHz\nSignal Strength: {signaldBm}dBm\nIP: {ipaddr}\nInstant Up Speed: {bandwidthUpBytes}\nInstant Down Speed: {bandwidthDownBytes}", "tooltip-format-ethernet": "Network Interface: {ifname}\nIP: {ipaddr}\nInstant Up Speed: {bandwidthUpBytes}\nInstant Down Speed: {bandwidthDownBytes}", "tooltip-format-disconnected": "Network Interface: {ifname} (Disconnected)", "tooltip-format-disabled": "Network Interface: {ifname} (Disabled)" }, "cpu": { "interval": 2, "format": "CPU {usage}%" }, "memory": { "interval": 2, "format": "MEM {percentage}%", "tooltip-format": "Mem: {used:0.1f}GiB used out of {total:0.1f}GiB ({percentage}%)\nSwap: {swapUsed:0.1f}GiB used out of {swapAvail:0.1f}GiB ({swapPercentage}%)" }, "disk": { "interval": 2, "format": "DISK {percentage_used}%", "path": "/" }, "pulseaudio": { "format": "VOL {volume}% {format_source}", "format-bluetooth": "VOL {volume}% {format_source}", "format-muted": "VOL ✗ {format_source}", "format-source": "({volume}%)", "format-source-muted": "(✗)", "scroll-step": 6.25, "reverse-mouse-scrolling": true, "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", "on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" } }