2025-12-25 22:21:17 +01:00
|
|
|
{
|
|
|
|
|
"layer": "top",
|
2025-12-29 23:40:17 +01:00
|
|
|
|
2025-12-25 22:21:17 +01:00
|
|
|
"modules-left": ["niri/workspaces"],
|
|
|
|
|
"modules-center": ["niri/window"],
|
2026-01-26 23:38:04 +01:00
|
|
|
"modules-right": ["idle_inhibitor", "bluetooth", "network", "wireplumber#source", "wireplumber#sink", "battery", "clock"],
|
2025-12-29 23:40:17 +01:00
|
|
|
|
2025-12-25 22:21:17 +01:00
|
|
|
"niri/window": {
|
|
|
|
|
"max-length": 100
|
|
|
|
|
},
|
2025-12-29 23:40:17 +01:00
|
|
|
|
2026-01-26 23:38:04 +01:00
|
|
|
"idle_inhibitor": {
|
|
|
|
|
"format": "{icon}",
|
|
|
|
|
"format-icons": {
|
|
|
|
|
"activated": "",
|
|
|
|
|
"deactivated": ""
|
|
|
|
|
},
|
|
|
|
|
"min-length": 2,
|
|
|
|
|
"tooltip": false
|
|
|
|
|
},
|
|
|
|
|
|
2025-12-29 23:40:17 +01:00
|
|
|
"mpris": {
|
|
|
|
|
"format": "{player_icon} {dynamic}",
|
|
|
|
|
"format-paused": "{status_icon} <i>{dynamic}</i>",
|
|
|
|
|
"player-icons": {
|
|
|
|
|
"default": ""
|
|
|
|
|
},
|
|
|
|
|
"status-icons": {
|
|
|
|
|
"paused": ""
|
|
|
|
|
},
|
|
|
|
|
"ignored-players": ["firefox"]
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"bluetooth": {
|
|
|
|
|
// "controller": "controller1", // specify the alias of the controller if there are more than 1 on the system
|
|
|
|
|
"format": "",
|
|
|
|
|
"format-disabled": "", // an empty format will hide the module
|
|
|
|
|
"format-connected": "",
|
|
|
|
|
"tooltip-format": "{controller_alias}\t{controller_address}",
|
|
|
|
|
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{device_enumerate}",
|
|
|
|
|
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
|
|
|
|
"min-length": 2
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"network": {
|
|
|
|
|
"interface": "wlp2s0",
|
|
|
|
|
"format": "{ifname}",
|
|
|
|
|
"format-icons": ["", "", "", ""],
|
|
|
|
|
"format-wifi": "{icon}",
|
|
|
|
|
"format-ethernet": "",
|
|
|
|
|
"format-disconnected": "", //An empty format will hide the module.
|
|
|
|
|
"tooltip-format": "{ifname}",
|
2026-01-30 15:27:34 +01:00
|
|
|
"tooltip-format-wifi": " {essid} ({signalStrength}%)",
|
|
|
|
|
"tooltip-format-ethernet": " {ifname}",
|
2025-12-29 23:40:17 +01:00
|
|
|
"tooltip-format-disconnected": "Disconnected",
|
|
|
|
|
"min-length": 2
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"wireplumber#sink": {
|
|
|
|
|
"format": "{icon}",
|
|
|
|
|
"format-muted": "",
|
|
|
|
|
"format-icons": ["", "", ""],
|
|
|
|
|
"tooltip-format": "{node_name} ({volume}%)",
|
|
|
|
|
"on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
|
|
|
|
"scroll-step": 5,
|
|
|
|
|
"min-length": 2
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"wireplumber#source": {
|
|
|
|
|
"node-type": "Audio/Source",
|
|
|
|
|
"format": "",
|
|
|
|
|
"format-muted": "",
|
|
|
|
|
"tooltip-format": "{node_name} ({volume}%)",
|
|
|
|
|
"on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle",
|
|
|
|
|
"scroll-step": 5,
|
|
|
|
|
"min-length": 2
|
|
|
|
|
},
|
|
|
|
|
|
2025-12-25 22:21:17 +01:00
|
|
|
"battery": {
|
2025-12-29 23:40:17 +01:00
|
|
|
"interval": 60,
|
|
|
|
|
"states": {
|
|
|
|
|
"warning": 30,
|
|
|
|
|
"critical": 15
|
|
|
|
|
},
|
|
|
|
|
"events": {
|
|
|
|
|
"on-discharging-warning": "notify-send -u normal 'Low Battery'",
|
2026-01-26 23:38:04 +01:00
|
|
|
"on-discharging-critical": "notify-send -u critical 'Very Low Battery'"
|
2025-12-29 23:40:17 +01:00
|
|
|
},
|
|
|
|
|
"format": "{icon}",
|
|
|
|
|
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
|
2026-01-26 23:58:48 +01:00
|
|
|
"format-charging": "",
|
2025-12-29 23:40:17 +01:00
|
|
|
"tooltip-format": "{time} ({capacity}%)",
|
|
|
|
|
"min-length": 2
|
2025-12-25 22:21:17 +01:00
|
|
|
},
|
2026-01-26 23:38:04 +01:00
|
|
|
|
2025-12-25 22:21:17 +01:00
|
|
|
"clock": {
|
|
|
|
|
"format-alt": "{:%a, %d. %b %H:%M}",
|
|
|
|
|
"tooltip": false
|
|
|
|
|
}
|
2025-12-29 23:40:17 +01:00
|
|
|
|
2025-12-25 22:21:17 +01:00
|
|
|
}
|
|
|
|
|
|
2025-12-29 23:40:17 +01:00
|
|
|
|
|
|
|
|
|