{
// make sure this renders above all non-fullscreen windows
"layer": "top",
// modules
"modules-left": [
"niri/workspaces",
"niri/window"
],
"modules-center": [
"clock"
],
"modules-right": [
"privacy",
"gamemode",
"tray",
"idle_inhibitor",
"battery",
"wireplumber",
"bluetooth",
"network"
],
// config
"niri/workspaces": {
"format": "{icon}{name}",
"format-icons": {
"web": " ",
"chat": " "
}
},
"niri/window": {
// "format": "{app_id} | {title}"
},
"clock": {
"format": "{:%a %R}",
"tooltip-format": "{calendar}",
"calendar": {
"mode": "month",
"weeks-pos": "right",
"format": {
"months": "{}",
"days": "{}",
"weeks": "W{}",
"weekdays": "{}",
"today": "{}"
}
}
},
"privacy": {
"icon-size": 13,
"icon-spacing": 5
},
"gamemode": {
"icon-size": 13
},
"tray": {
"reverse-direction": true,
"show-passive-items": true,
"spacing": 5
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"wireplumber": {
"format": "{icon} {volume}%",
"format-icons": [
"",
"",
" "
],
"format-muted": "",
"on-click": "pavucontrol",
"on-click-right": "helvum"
},
"bluetooth": {
"format": "",
"format-connected": " {num_connections}",
"format-disabled": "",
"tooltip-format": "{controller_alias} {controller_address}",
"tooltip-format-connected": "{controller_alias} {controller_address}\n\n{num_connections} connected:\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias} {device_address}"
},
"network": {
"format-disconnected": "Disconnected",
"format-ethernet": "",
"format-wifi": " {essid}",
"tooltip-format-ethernet": "{ipaddr}/{cidr} via {ifname}",
"tooltip-format-wifi": "{ipaddr}/{cidr} via {ifname}\n{signalStrength}% signal"
}
}