dotfiles/configs/waybar/config

46 lines
1.2 KiB
Plaintext

{
"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": "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",
},
}