mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 22:50:19 +02:00
more style related changes
This commit is contained in:
parent
1de2a5aa0a
commit
5da82a8e80
12 changed files with 170 additions and 110 deletions
|
@ -1,16 +1,23 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||
"modules-center": [ ],
|
||||
"modules-right": ["mpris", "wireplumber","cpu", "bluetooth", "network", "clock", "privacy"],
|
||||
"modules-center": [],
|
||||
"modules-right": [
|
||||
"wireplumber",
|
||||
"cpu",
|
||||
"bluetooth",
|
||||
"network",
|
||||
"clock",
|
||||
"privacy"
|
||||
],
|
||||
"clock": {
|
||||
"format-alt": "{:%a, %d. %b %H:%M}"
|
||||
"format-alt": "{:%a, %d. %b %H:%M}"
|
||||
},
|
||||
"wireplumber": {
|
||||
"format": "{volume}% ",
|
||||
"format-muted": "",
|
||||
"max-volume": 120,
|
||||
"scroll-step": 0.2
|
||||
"format": "{volume}% ",
|
||||
"format-muted": "",
|
||||
"max-volume": 120,
|
||||
"scroll-step": 0.2
|
||||
},
|
||||
"privacy": {
|
||||
"icon-spacing": 4,
|
||||
|
@ -40,19 +47,39 @@
|
|||
"network": {
|
||||
"interface": "wlp3s0",
|
||||
"format": "{ifname}",
|
||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||
"format-ethernet": "{ipaddr}/{cidr} ",
|
||||
"format-wifi": " ",
|
||||
"format-ethernet": "",
|
||||
"format-disconnected": "", //An empty format will hide the module.
|
||||
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||
"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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue