mirror of
https://github.com/ivabus/dotfiles
synced 2024-11-25 01:25:06 +03:00
45 lines
1.2 KiB
Text
45 lines
1.2 KiB
Text
{
|
|
//"height": , // Waybar height (to be removed for auto height)
|
|
"position": "bottom",
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
|
"modules-center": ["sway/window"],
|
|
"modules-right": ["idle_inhibitor", "network", "cpu", "memory", "temperature", "sway/language", "clock", "tray"],
|
|
"sway/mode": {
|
|
"format": "<span style=\"italic\">{}</span>"
|
|
},
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "0",
|
|
"deactivated": "O"
|
|
}
|
|
},
|
|
"tray": {
|
|
// "icon-size": 21,
|
|
"spacing": 10
|
|
},
|
|
"clock": {
|
|
"format": "{:%d.%m.%Y %H:%M:%S}",
|
|
"interval": 1
|
|
},
|
|
"cpu": {
|
|
"format": "CPU: {usage}%",
|
|
},
|
|
"memory": {
|
|
"format": "RAM: {}%"
|
|
},
|
|
"temperature": {
|
|
"format": "{temperatureC}°C",
|
|
},
|
|
"battery": {
|
|
"format": "Bat: {capacity}%",
|
|
"format-charging": "Bat: {capacity}% (charging)",
|
|
"format-plugged": "Bat: {capacity}% (plugged)",
|
|
},
|
|
"network": {
|
|
"format": "Connected via {ifname}",
|
|
"tooltip-format": "{ipaddr}/{cidr}",
|
|
"format-linked": "Connected (No IP) via {ifname}",
|
|
"format-disconnected": "Disconnected",
|
|
},
|
|
}
|