77 lines
2.5 KiB
Plaintext
77 lines
2.5 KiB
Plaintext
{
|
|
"spacing": 0,
|
|
"modules-left": ["dwl/tags"],
|
|
"modules-center": [],
|
|
"modules-right": ["wireplumber", "memory", "cpu", "network", "privacy", "battery", "clock"],
|
|
"clock": {
|
|
"interval": 1,
|
|
"format": "{:%Y-%m-%d %H:%M:%S}",
|
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
|
"calendar": {
|
|
"mode" : "month",
|
|
"mode-mon-col" : 3,
|
|
"weeks-pos" : "",
|
|
"on-scroll" : 1,
|
|
"on-click-right": "mode",
|
|
"format": {
|
|
"months": "<span color='#ffead3'><b>{}</b></span>",
|
|
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
|
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
|
|
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
|
"today": "<span color='#ff6699'><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"
|
|
}
|
|
},
|
|
"wireplumber": {
|
|
"format": "{icon} {volume}%",
|
|
"format-muted": "",
|
|
"scroll-step": 0.2,
|
|
"format-icons": ["", "", ""],
|
|
},
|
|
"memory": {
|
|
"format": " {used}G/{total}G",
|
|
"states": {
|
|
"warning": 80,
|
|
"critical": 90,
|
|
},
|
|
},
|
|
"network": {
|
|
"format": "{ifname}",
|
|
"format-wifi": " {essid} ({signalStrength}%)",
|
|
"format-ethernet": " {ipaddr}/{cidr}",
|
|
"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
|
|
},
|
|
"cpu": {
|
|
"interval": 10,
|
|
"format": " {usage}%",
|
|
"states": {
|
|
"warning": 80,
|
|
"critical": 99,
|
|
},
|
|
"max-length": 10
|
|
},
|
|
"battery": {
|
|
"interval": 60,
|
|
"states": {
|
|
"warning": 30,
|
|
"critical": 15,
|
|
},
|
|
"format": "{icon} {capacity}%",
|
|
"format-charging": "{icon} {capacity}% ({time})",
|
|
"format-icons": ["", "", "", "", ""],
|
|
"max-length": 25
|
|
}
|
|
}
|