156 lines
3.1 KiB
JSON
156 lines
3.1 KiB
JSON
// -*- mode: json -*-
|
|
|
|
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
|
|
"modules-left": [
|
|
"sway/workspaces",
|
|
"custom/right-arrow-dark"
|
|
],
|
|
"modules-center": [
|
|
"custom/left-arrow-dark",
|
|
"clock#1",
|
|
"custom/left-arrow-light",
|
|
"custom/left-arrow-dark",
|
|
"clock#2",
|
|
"custom/right-arrow-dark",
|
|
"custom/right-arrow-light",
|
|
"clock#3",
|
|
"custom/right-arrow-dark"
|
|
],
|
|
"modules-right": [
|
|
"custom/left-arrow-dark",
|
|
"network",
|
|
"custom/left-arrow-light",
|
|
"custom/left-arrow-dark",
|
|
"pulseaudio",
|
|
"custom/left-arrow-light",
|
|
"custom/left-arrow-dark",
|
|
"memory",
|
|
"custom/left-arrow-light",
|
|
"custom/left-arrow-dark",
|
|
"cpu",
|
|
"custom/left-arrow-light",
|
|
"custom/left-arrow-dark",
|
|
"battery",
|
|
"custom/left-arrow-light",
|
|
"custom/left-arrow-dark",
|
|
"disk",
|
|
"custom/left-arrow-light",
|
|
"custom/left-arrow-dark",
|
|
"tray"
|
|
],
|
|
|
|
"custom/left-arrow-dark": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
"custom/left-arrow-light": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
"custom/right-arrow-dark": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
"custom/right-arrow-light": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
|
|
"sway/workspaces": {
|
|
"disable-scroll": true,
|
|
"format": "{name}"
|
|
},
|
|
|
|
"clock#1": {
|
|
"format": "{:%a}",
|
|
"tooltip": false
|
|
},
|
|
"clock#2": {
|
|
"format": "{:%H:%M}",
|
|
"tooltip": false
|
|
},
|
|
"clock#3": {
|
|
"format": "{:%d.%m}",
|
|
"tooltip": false
|
|
},
|
|
|
|
"pulseaudio": {
|
|
"format": "{icon} {volume}%",
|
|
"format-bluetooth": "",
|
|
"format-muted": "",
|
|
"format-source-muted": " ",
|
|
"format-icons": {
|
|
"headphone": " ",
|
|
"hands-free": " ",
|
|
"headset": " ",
|
|
"default": ["", "", " "]
|
|
},
|
|
"scroll-step": 5,
|
|
"on-click": "pavucontrol",
|
|
"tooltip": false
|
|
},
|
|
"network": {
|
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
"format-ethernet": "{ipaddr}/{cidr} ",
|
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
|
"format-linked": "{ifname} (No IP) ",
|
|
"format-disconnected": "Disconnected ",
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
|
},
|
|
"memory": {
|
|
"interval": 5,
|
|
"format": " {}%"
|
|
},
|
|
"cpu": {
|
|
"interval": 5,
|
|
"format": " {usage:2}%"
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
"good": 95,
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{icon} {capacity}%",
|
|
"format-icons": {
|
|
"charging": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"default": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
},
|
|
"disk": {
|
|
"interval": 5,
|
|
"format": " {percentage_used:2}%",
|
|
"path": "/nix/"
|
|
},
|
|
"tray": {
|
|
"icon-size": 14
|
|
}
|
|
}
|
|
|