"height": 30, "spacing": 4, "modules-left": ["sway/workspaces", "sway/mode"], "sway/mode": { "format": "{}" }, "modules-center": ["sway/window"], "modules-right": ["tray", "cpu", "memory", "backlight", "battery", "pulseaudio", "network", "clock"], "tray": { "spacing": 10 }, "cpu": { "format": "{usage}% 💻", "tooltip": false }, "memory": { "format": "{}% " }, "backlight": { "format": "{percent}% {icon}", "format-icons": ["", ""] }, "battery": { "states": { "warning": 30, "critical": 15 }, "format": "{icon}: {time} ({capacity}%)", "format-charging": "{icon}: {time} ({capacity}% charging)", "format-plugged": "{icon}: {time} ({capacity}% plugged)", "format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"] }, "pulseaudio": { "format": "{volume}% {icon} {format_source}", "format-bluetooth": "{volume}% {icon} {format_source}", "format-source": "{volume}% ", "format-source-muted": "", "format-icons": { "default": ["", "", ""] }, "on-click": "pavucontrol" }, "network": { "format": "{ipaddr}/{cidr}", "tooltip-format": "{ifname} via {gwaddr}", "format-disconnected": "Disconnected ⚠", }, "clock": { "tooltip-format": "{:%Y %B}\n{calendar}", "format": "{:%Y-%m-%d %H:%M}" }, }