2025-12-25 22:21:17 +01:00
|
|
|
{
|
2026-03-15 20:20:28 +01:00
|
|
|
"layer": "top",
|
|
|
|
|
"modules-left": ["niri/workspaces"],
|
2026-04-15 21:00:34 +02:00
|
|
|
"modules-center": ["clock"],
|
2026-07-11 01:35:28 +02:00
|
|
|
"modules-right": ["bluetooth", "network", "wireplumber#source", "wireplumber#sink", "mpd", "idle_inhibitor", "battery"],
|
2026-06-06 17:54:33 +02:00
|
|
|
|
2026-03-18 20:53:50 +01:00
|
|
|
"idle_inhibitor": {
|
2026-03-15 20:20:28 +01:00
|
|
|
"format": "{icon}",
|
|
|
|
|
"format-icons": {
|
|
|
|
|
"activated": "",
|
|
|
|
|
"deactivated": ""
|
|
|
|
|
},
|
|
|
|
|
"tooltip": false
|
|
|
|
|
},
|
2026-03-02 22:25:41 +01:00
|
|
|
|
2026-03-15 20:20:28 +01:00
|
|
|
"niri/window": {
|
|
|
|
|
"max-length": 100
|
|
|
|
|
},
|
2026-01-26 23:38:04 +01:00
|
|
|
|
2026-03-15 20:20:28 +01:00
|
|
|
"bluetooth": {
|
|
|
|
|
// "controller": "controller1", // specify the alias of the controller if there are more than 1 on the system
|
2026-08-25 17:39:59 +02:00
|
|
|
"format": "",
|
2026-03-15 20:20:28 +01:00
|
|
|
"format-disabled": "", // an empty format will hide the module
|
2026-08-25 17:39:59 +02:00
|
|
|
"format-connected": "",
|
2026-04-03 22:19:11 +02:00
|
|
|
"tooltip-format": "{device_enumerate}",
|
|
|
|
|
"tooltip-format-enumerate-connected": "{device_alias}",
|
|
|
|
|
"tooltip-format-enumerate-connected-battery": "{device_alias} ({device_battery_percentage}%)",
|
2026-06-06 17:54:33 +02:00
|
|
|
"on-click-right": "bluetoothmenu.fish"
|
2026-03-15 20:20:28 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"network": {
|
2026-08-25 17:39:59 +02:00
|
|
|
// "interface": "wlp2s0",
|
2026-03-15 20:20:28 +01:00
|
|
|
"format": "{ifname}",
|
|
|
|
|
"format-icons": ["", "", "", ""],
|
|
|
|
|
"format-wifi": "{icon}",
|
|
|
|
|
"format-ethernet": "",
|
2026-08-25 17:39:59 +02:00
|
|
|
"format-disconnected": "", //An empty format will hide the module.
|
|
|
|
|
"format-disabled": "", //An empty format will hide the module.
|
2026-03-15 20:20:28 +01:00
|
|
|
"tooltip-format": "{ifname}",
|
|
|
|
|
"tooltip-format-wifi": " {essid} ({signalStrength}%)",
|
|
|
|
|
"tooltip-format-ethernet": " {ifname}",
|
2026-03-19 15:34:08 +01:00
|
|
|
"tooltip-format-disconnected": "Disconnected",
|
2026-06-06 17:54:33 +02:00
|
|
|
"on-click-right": "networkmenu.fish"
|
2026-03-15 20:20:28 +01:00
|
|
|
},
|
2025-12-29 23:40:17 +01:00
|
|
|
|
2026-03-15 20:20:28 +01:00
|
|
|
"wireplumber#sink": {
|
|
|
|
|
"format": "{icon}",
|
|
|
|
|
"format-muted": "",
|
|
|
|
|
"format-icons": ["", "", ""],
|
|
|
|
|
"tooltip-format": "{node_name} ({volume}%)",
|
2026-06-06 17:54:33 +02:00
|
|
|
"on-click-right": "wpsinkmenu.fish",
|
|
|
|
|
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
2026-07-11 01:35:28 +02:00
|
|
|
"scroll-step": 5,
|
|
|
|
|
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- --limit 1.5 && volumenotify.fish",
|
|
|
|
|
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ --limit 1.5 && volumenotify.fish"
|
2026-03-15 20:20:28 +01:00
|
|
|
},
|
2026-01-26 23:38:04 +01:00
|
|
|
|
2026-03-15 20:20:28 +01:00
|
|
|
"wireplumber#source": {
|
|
|
|
|
"node-type": "Audio/Source",
|
|
|
|
|
"format": "",
|
|
|
|
|
"format-muted": "",
|
|
|
|
|
"tooltip-format": "{node_name} ({volume}%)",
|
2026-06-06 17:54:33 +02:00
|
|
|
"on-click-right": "wpsourcemenu.fish",
|
|
|
|
|
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle",
|
2026-03-15 20:20:28 +01:00
|
|
|
"scroll-step": 5
|
|
|
|
|
},
|
|
|
|
|
|
2026-07-11 01:35:28 +02:00
|
|
|
"mpd": {
|
|
|
|
|
"format": "{stateIcon}",
|
|
|
|
|
"format-stopped": "",
|
|
|
|
|
"format-disconnected": "",
|
2026-07-20 21:12:20 +02:00
|
|
|
"tooltip-format": "{artist}\n{album}\n{title}\n{elapsedTime:%M:%S}/{totalTime:%M:%S}\n{consumeIcon} {randomIcon} {repeatIcon} {singleIcon}",
|
2026-07-11 01:35:28 +02:00
|
|
|
"state-icons": {
|
|
|
|
|
"playing": "",
|
|
|
|
|
"paused": ""
|
|
|
|
|
},
|
|
|
|
|
"consume-icons": {
|
|
|
|
|
"on": "",
|
|
|
|
|
"off": ""
|
|
|
|
|
},
|
|
|
|
|
"random-icons": {
|
|
|
|
|
"on": "",
|
|
|
|
|
"off": ""
|
|
|
|
|
},
|
|
|
|
|
"repeat-icons": {
|
|
|
|
|
"on": "",
|
|
|
|
|
"off": ""
|
|
|
|
|
},
|
|
|
|
|
"single-icons": {
|
|
|
|
|
"on": "",
|
|
|
|
|
"off": ""
|
|
|
|
|
},
|
|
|
|
|
"on-click": "mpc toggle",
|
|
|
|
|
"on-click-middle": "mpc stop",
|
|
|
|
|
"on-click-right": "mpdmenu.fish",
|
|
|
|
|
"on-scroll-down": "mpc volume -5 && mpdvolumenotify.fish",
|
|
|
|
|
"on-scroll-up": "mpc volume +5 && mpdvolumenotify.fish"
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
2026-03-15 20:20:28 +01:00
|
|
|
"battery": {
|
|
|
|
|
"interval": 60,
|
|
|
|
|
"states": {
|
|
|
|
|
"warning": 30,
|
|
|
|
|
"critical": 15
|
|
|
|
|
},
|
|
|
|
|
"events": {
|
|
|
|
|
"on-discharging-warning": "notify-send -u normal 'Low Battery'",
|
|
|
|
|
"on-discharging-critical": "notify-send -u critical 'Very Low Battery'"
|
|
|
|
|
},
|
|
|
|
|
"format": "{icon}",
|
|
|
|
|
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
|
|
|
|
|
"format-charging": "",
|
2026-04-03 22:19:11 +02:00
|
|
|
"tooltip-format": "Battery ({capacity}%)\n{power}W: {time}"
|
2026-03-15 20:20:28 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"clock": {
|
2026-04-15 21:00:34 +02:00
|
|
|
"format": "{:%A, %B %d %R}",
|
2026-03-15 20:20:28 +01:00
|
|
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
|
|
|
|
"calendar": {
|
|
|
|
|
"mode" : "year",
|
|
|
|
|
"mode-mon-col" : 3,
|
|
|
|
|
"weeks-pos" : "right",
|
|
|
|
|
"on-scroll" : 1,
|
|
|
|
|
"on-click-right": "mode",
|
|
|
|
|
"format": {
|
|
|
|
|
"months": "<span color='#ffffff'><b>{}</b></span>",
|
2026-03-26 23:10:37 +01:00
|
|
|
"days": "<span color='#ffffff'>{}</span>",
|
|
|
|
|
"weeks": "<span color='#7f7f7f'>W{}</span>",
|
|
|
|
|
"weekdays": "<span color='#999999'>{}</span>",
|
2026-03-15 20:20:28 +01:00
|
|
|
"today": "<span color='#7fc8ff'><b>{}</b></span>"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"actions": {
|
|
|
|
|
"on-click-right": "mode",
|
|
|
|
|
"on-click-forward": "tz_up",
|
|
|
|
|
"on-click-backward": "tz_down",
|
|
|
|
|
"on-scroll-up": "shift_up",
|
|
|
|
|
"on-scroll-down": "shift_down"
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-12-29 23:40:17 +01:00
|
|
|
|
2025-12-25 22:21:17 +01:00
|
|
|
}
|
|
|
|
|
|