107 lines
No EOL
2.5 KiB
JSON
107 lines
No EOL
2.5 KiB
JSON
// -*- mode: jsonc -*-
|
|
{
|
|
"layer": "top",
|
|
"spacing": 8,
|
|
"modules-left": [
|
|
"niri/workspaces",
|
|
"privacy",
|
|
"niri/window"
|
|
],
|
|
"modules-center": [
|
|
"clock"
|
|
],
|
|
"modules-right": [
|
|
"tray",
|
|
"idle_inhibitor",
|
|
"battery",
|
|
"power-profiles-daemon",
|
|
"wireplumber",
|
|
"bluetooth",
|
|
"network",
|
|
"custom/notifications"
|
|
],
|
|
"niri/workspaces": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"web": "",
|
|
"chat": "",
|
|
"dev": "",
|
|
"games": ""
|
|
}
|
|
},
|
|
"privacy": {
|
|
"icon-size": 12
|
|
},
|
|
"clock": {
|
|
"format": "{:%a %H:%M}",
|
|
"tooltip-format": "<tt>{calendar}</tt>",
|
|
"calendar": {
|
|
"format": {
|
|
"today": "<b><u>{}</u></b>"
|
|
}
|
|
}
|
|
},
|
|
"tray": {
|
|
"spacing": 4,
|
|
"reverse-direction": true
|
|
},
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "",
|
|
"deactivated": ""
|
|
}
|
|
},
|
|
"battery": {
|
|
"format": "{icon} {capacity}%"
|
|
},
|
|
"power-profiles-daemon": {
|
|
"format-icons": {
|
|
"default": "",
|
|
"performance": "",
|
|
"balanced": "",
|
|
"power-saver": ""
|
|
}
|
|
},
|
|
"wireplumber": {
|
|
"format": "{icon} {volume}%",
|
|
"format-muted": " Muted",
|
|
"format-icons": [
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
"bluetooth": {
|
|
"format-disabled": "",
|
|
"format-connected": " {num_connections}"
|
|
},
|
|
"network": {
|
|
"format-ethernet": " Wired",
|
|
"format-wifi": " {essid}",
|
|
"format-disconnected": " Disconnected",
|
|
"tooltip-format-ethernet": "Interface: {ifname}\nIP: {ipaddr}\nGateway: {gwaddr}",
|
|
"tooltip-format-wifi": "{frequency}GHz {signalStrength}%\n\nInterface: {ifname}\nIP: {ipaddr}\nGateway: {gwaddr}",
|
|
"tooltip-format-disconnected": ""
|
|
},
|
|
"custom/notifications": {
|
|
"exec": "swaync-client -swb",
|
|
"exec-if": "which swaync-client",
|
|
"return-type": "json",
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"notification": "<span foreground='red'><sup></sup></span>",
|
|
"none": "",
|
|
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
|
"dnd-none": "",
|
|
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
|
"inhibited-none": "",
|
|
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
|
"dnd-inhibited-none": ""
|
|
},
|
|
"on-click": "swaync-client -t -sw",
|
|
"on-click-right": "swaync-client -d -sw",
|
|
"tooltip-format": "Notifications",
|
|
"escape": true
|
|
}
|
|
} |