mirror of
https://github.com/ivabus/dotfiles
synced 2024-11-22 08:05:07 +03:00
47 lines
1.4 KiB
Text
47 lines
1.4 KiB
Text
{
|
|
"height": 30, // 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": "",
|
|
"deactivated": ""
|
|
}
|
|
},
|
|
"tray": {
|
|
// "icon-size": 21,
|
|
"spacing": 10
|
|
},
|
|
"clock": {
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
"format": "{:%d.%m.%Y %H:%M:%S}",
|
|
"interval": 1
|
|
},
|
|
"cpu": {
|
|
"format": "CPU: {usage}%",
|
|
"tooltip": false
|
|
},
|
|
"memory": {
|
|
"format": "RAM: {}%"
|
|
},
|
|
"temperature": {
|
|
"format": "{temperatureC}°C",
|
|
},
|
|
"battery": {
|
|
"format": "Bat: {capacity}%",
|
|
"format-charging": "Bat: {capacity}% (charging)",
|
|
"format-plugged": "Bat: {capacity}% (plugged)",
|
|
},
|
|
"network": {
|
|
"format": "Connected: {ifname}",
|
|
"tooltip-format": "{ifname} via {essid} {ipaddr}/{cidr}",
|
|
"format-linked": "Connected (No IP): {ifname}",
|
|
"format-disconnected": "Disconnected",
|
|
},
|
|
}
|