2022-08-09 11:27:28 +03:00
|
|
|
{
|
2022-08-29 17:28:59 +03:00
|
|
|
//"height": , // Waybar height (to be removed for auto height)
|
2022-08-09 16:43:55 +03:00
|
|
|
"position": "bottom",
|
2022-08-09 11:27:28 +03:00
|
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
|
|
|
"modules-center": ["sway/window"],
|
2022-08-09 16:43:55 +03:00
|
|
|
"modules-right": ["idle_inhibitor", "network", "cpu", "memory", "temperature", "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": {
|
|
|
|
// "icon-size": 21,
|
|
|
|
"spacing": 10
|
|
|
|
},
|
|
|
|
"clock": {
|
|
|
|
"format": "{:%d.%m.%Y %H:%M:%S}",
|
|
|
|
"interval": 1
|
|
|
|
},
|
|
|
|
"cpu": {
|
|
|
|
"format": "CPU: {usage}%",
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"format": "RAM: {}%"
|
|
|
|
},
|
|
|
|
"temperature": {
|
2022-08-09 16:43:55 +03:00
|
|
|
"format": "{temperatureC}°C",
|
2022-08-09 11:27:28 +03:00
|
|
|
},
|
|
|
|
"battery": {
|
2022-08-09 16:43:55 +03:00
|
|
|
"format": "Bat: {capacity}%",
|
|
|
|
"format-charging": "Bat: {capacity}% (charging)",
|
|
|
|
"format-plugged": "Bat: {capacity}% (plugged)",
|
2022-08-09 11:27:28 +03:00
|
|
|
},
|
|
|
|
"network": {
|
2022-08-09 16:53:15 +03:00
|
|
|
"format": "Connected via {ifname}",
|
|
|
|
"tooltip-format": "{ipaddr}/{cidr}",
|
|
|
|
"format-linked": "Connected (No IP) via {ifname}",
|
2022-08-09 16:43:55 +03:00
|
|
|
"format-disconnected": "Disconnected",
|
2022-08-09 11:27:28 +03:00
|
|
|
},
|
|
|
|
}
|