2022-08-09 11:27:28 +03:00
|
|
|
{
|
2022-08-31 18:26:36 +03:00
|
|
|
"position": "top",
|
2022-08-09 11:27:28 +03:00
|
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
2022-12-08 17:43:13 +03:00
|
|
|
"modules-center": [],
|
|
|
|
"modules-right": ["idle_inhibitor", "cpu", "temperature", "memory", "custom/loadavg", "network", "pulseaudio", "battery", "sway/language", "clock", "tray"],
|
2022-08-09 11:27:28 +03:00
|
|
|
"sway/mode": {
|
|
|
|
"format": "<span style=\"italic\">{}</span>"
|
|
|
|
},
|
|
|
|
"idle_inhibitor": {
|
|
|
|
"format": "{icon}",
|
|
|
|
"format-icons": {
|
2022-08-09 16:53:15 +03:00
|
|
|
"activated": "0",
|
|
|
|
"deactivated": "O"
|
2022-08-09 11:27:28 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tray": {
|
|
|
|
"spacing": 10
|
|
|
|
},
|
|
|
|
"clock": {
|
2022-12-08 17:43:13 +03:00
|
|
|
"format": "{:%H:%M:%S %d.%m.%Y}",
|
2022-08-09 11:27:28 +03:00
|
|
|
"interval": 1
|
|
|
|
},
|
2022-08-30 18:02:25 +03:00
|
|
|
"pulseaudio": {
|
|
|
|
"scroll-step": 1,
|
2022-12-08 17:43:13 +03:00
|
|
|
"format": "Volume: {volume}%",
|
|
|
|
"format-bluetooth": "Volume: {volume}% (BT)",
|
|
|
|
"format-bluetooth-muted": "Volume: {icon} (BT)",
|
2022-08-30 18:02:25 +03:00
|
|
|
"format-muted": "Vol: {volume}%",
|
|
|
|
"on-click": "pavucontrol"
|
|
|
|
},
|
2022-08-09 11:27:28 +03:00
|
|
|
"cpu": {
|
|
|
|
"format": "CPU: {usage}%",
|
2022-08-30 13:40:40 +03:00
|
|
|
"interval": 1
|
2022-08-09 11:27:28 +03:00
|
|
|
},
|
|
|
|
"memory": {
|
2022-08-30 13:40:40 +03:00
|
|
|
"format": "RAM: {}%",
|
|
|
|
"interval": 1
|
2022-08-09 11:27:28 +03:00
|
|
|
},
|
2022-12-08 17:43:13 +03:00
|
|
|
"custom/loadavg": {
|
|
|
|
"exec": "cat /proc/loadavg | head -c 14",
|
|
|
|
"return-type": "{}",
|
|
|
|
"format": "Load average: {}",
|
|
|
|
"interval": 1
|
|
|
|
},
|
2022-08-09 11:27:28 +03:00
|
|
|
"temperature": {
|
2022-12-08 17:43:13 +03:00
|
|
|
"format": "Temperature: {temperatureC}°C",
|
2022-08-30 18:02:25 +03:00
|
|
|
"interval": 1
|
2022-08-09 11:27:28 +03:00
|
|
|
},
|
|
|
|
"battery": {
|
2022-12-08 17:43:13 +03:00
|
|
|
"format": "Battery: {capacity}%",
|
|
|
|
"format-charging": "Battery: {capacity}% (charging)",
|
|
|
|
"format-plugged": "Battery: {capacity}% (plugged)",
|
2022-08-30 13:40:40 +03:00
|
|
|
"interval": 10
|
2022-08-09 11:27:28 +03:00
|
|
|
},
|
|
|
|
"network": {
|
2022-08-30 12:27:19 +03:00
|
|
|
"format": "Network via {ifname}",
|
2022-08-09 16:53:15 +03:00
|
|
|
"tooltip-format": "{ipaddr}/{cidr}",
|
2022-08-30 12:27:19 +03:00
|
|
|
"format-linked": "Network (No IP) via {ifname}",
|
|
|
|
"format-disconnected": "No network",
|
2022-12-08 16:07:46 +03:00
|
|
|
"on-click": "iwgtk"
|
2022-08-09 11:27:28 +03:00
|
|
|
},
|
|
|
|
}
|