2024-10-20 16:21:47 +02:00
|
|
|
{
|
2024-10-22 10:54:12 +02:00
|
|
|
"layer": "top",
|
|
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
2025-01-25 13:18:45 +01:00
|
|
|
"modules-center": [],
|
|
|
|
"modules-right": [
|
|
|
|
"wireplumber",
|
|
|
|
"cpu",
|
|
|
|
"bluetooth",
|
|
|
|
"network",
|
|
|
|
"clock",
|
|
|
|
"privacy"
|
|
|
|
],
|
2024-10-22 10:54:12 +02:00
|
|
|
"clock": {
|
2025-01-25 13:18:45 +01:00
|
|
|
"format-alt": "{:%a, %d. %b %H:%M}"
|
2024-10-22 10:54:12 +02:00
|
|
|
},
|
|
|
|
"wireplumber": {
|
2025-01-25 13:18:45 +01:00
|
|
|
"format": "{volume}% ",
|
|
|
|
"format-muted": "",
|
|
|
|
"max-volume": 120,
|
|
|
|
"scroll-step": 0.2
|
2024-10-22 10:54:12 +02:00
|
|
|
},
|
|
|
|
"privacy": {
|
|
|
|
"icon-spacing": 4,
|
|
|
|
"icon-size": 18,
|
|
|
|
"transition-duration": 250,
|
|
|
|
"modules": [
|
|
|
|
{
|
|
|
|
"type": "screenshare",
|
|
|
|
"tooltip": true,
|
|
|
|
"tooltip-icon-size": 24
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "audio-out",
|
|
|
|
"tooltip": true,
|
|
|
|
"tooltip-icon-size": 24
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "audio-in",
|
|
|
|
"tooltip": true,
|
|
|
|
"tooltip-icon-size": 24
|
|
|
|
}
|
|
|
|
]
|
2025-01-19 18:30:54 +01:00
|
|
|
},
|
|
|
|
"cpu": {
|
|
|
|
"format": "{}% "
|
|
|
|
},
|
|
|
|
"network": {
|
|
|
|
"interface": "wlp3s0",
|
|
|
|
"format": "{ifname}",
|
2025-01-25 13:18:45 +01:00
|
|
|
"format-wifi": " ",
|
|
|
|
"format-ethernet": "",
|
2025-01-19 18:30:54 +01:00
|
|
|
"format-disconnected": "", //An empty format will hide the module.
|
2025-01-25 13:18:45 +01:00
|
|
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
2025-01-19 18:30:54 +01:00
|
|
|
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
|
|
|
|
"tooltip-format-ethernet": "{ifname} ",
|
|
|
|
"tooltip-format-disconnected": "Disconnected",
|
|
|
|
"max-length": 50
|
2025-01-25 13:18:45 +01:00
|
|
|
},
|
2025-01-19 18:30:54 +01:00
|
|
|
"bluetooth": {
|
|
|
|
"format": "",
|
|
|
|
"format-disabled": "",
|
|
|
|
"format-connected": ""
|
2025-01-25 13:18:45 +01:00
|
|
|
},
|
2024-12-08 10:11:34 +01:00
|
|
|
|
2025-01-25 13:18:45 +01:00
|
|
|
"custom/notification": {
|
|
|
|
"tooltip": false,
|
|
|
|
"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": ""
|
|
|
|
},
|
|
|
|
"return-type": "json",
|
|
|
|
"exec-if": "which swaync-client",
|
|
|
|
"exec": "swaync-client -swb",
|
|
|
|
"on-click": "swaync-client -t -sw",
|
|
|
|
"on-click-right": "swaync-client -d -sw",
|
|
|
|
"escape": true
|
|
|
|
}
|
2024-10-20 16:21:47 +02:00
|
|
|
}
|