mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-31 03:19:37 +01:00
79 lines
2.1 KiB
Plaintext
79 lines
2.1 KiB
Plaintext
{
|
|
"layer": "top",
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
|
"modules-center": [],
|
|
"modules-right": ["wireplumber", "bluetooth", "network", "clock", "privacy"],
|
|
"clock": {
|
|
"format-alt": "{:%a, %d. %b %H:%M}"
|
|
},
|
|
"wireplumber": {
|
|
"format": "{volume}% ",
|
|
"format-muted": "",
|
|
"max-volume": 120,
|
|
"scroll-step": 0.2
|
|
},
|
|
"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
|
|
}
|
|
]
|
|
},
|
|
"cpu": {
|
|
"format": "{}% "
|
|
},
|
|
"network": {
|
|
"interface": "wlp3s0",
|
|
"format": "{ifname}",
|
|
"format-wifi": " ",
|
|
"format-ethernet": "",
|
|
"format-disconnected": "", //An empty format will hide the module.
|
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
|
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
|
|
"tooltip-format-ethernet": "{ifname} ",
|
|
"tooltip-format-disconnected": "Disconnected",
|
|
"max-length": 50
|
|
},
|
|
"bluetooth": {
|
|
"format": "",
|
|
"format-disabled": "",
|
|
"format-connected": ""
|
|
},
|
|
|
|
"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
|
|
}
|
|
}
|