{ "battery": { "format": "{icon} {capacity}%", "format-charging": "\uf0e7 {capacity}%", "format-icons": ["\uf244", "\uf243", "\uf242", "\uf241", "\uf240"], "states": { "critical": 10, "warning": 20 } }, "clock": { "format": "\uf017 {:%H:%M}", "tooltip-format": "{calendar}", "calendar": { "mode": "year", "mode-mon-col": 3, "weeks-pos": "right", "format": { "months": "{}", "days": "{}", "weeks": "W{}", "weekdays": "{}", "today": "{}" } } }, "custom/date": { "exec": "~/.config/scripts/date.sh", "format": "\uf073 {}", "interval": 60 }, "network": { "format-wifi": "\uf1eb {ipaddr}", "format-disconnected": "\uf52f disconnected", "tooltip-format-wifi": "\uf1eb {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\n\uf093 {bandwidthUpBits} \uf019 {bandwidthDownBits}", }, "modules-center": ["sway/workspaces"], "modules-left": ["network", "battery", "temperature"], "modules-right": ["pulseaudio", "custom/date", "clock"], "position": "top", "pulseaudio": { "format": "{icon} {volume}%", "format-icons": { "default": ["\uf027", "\uf028"], "headphone": "\uf025" }, "format-muted": "\uf026 muted", "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle" }, "sway/workspaces": { "all-outputs": true, "disable-scroll": true, "format": "{icon}", "format-icons": { "default": "\uf068" }, "persistent_workspaces": { "1": [], "2": [], "3": [], "4": [], "5": [], "6": [] } }, "temperature": { "critical-threshold": 90, "format": "\uf2c8 {temperatureC}\u00b0C", "format-critical": "\uf071 {temperatureC}\u00b0C", "hwmon-path": "/sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input", "interval": "5" } }