{
"layer": "top",
"position": "top",
"height": 30,
"spacing": 8,
"modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad"],
"modules-center": ["sway/window"],
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "battery", "tray", "clock"],
"sway/workspaces": {
"disable-scroll": false,
"all-outputs": true,
"format": "{name}"
},
"sway/mode": {
"format": "{}"
},
"sway/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,
"format-icons": ["", "đ"],
"tooltip": true,
"tooltip-format": "{app}: {title}"
},
"sway/window": {
"format": "{}",
"max-length": 50,
"rewrite": {
"(.*) â Mozilla Firefox": "đ $1",
"(.*) - vim": " $1"
}
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "đ",
"deactivated": "đ"
}
},
"tray": {
"spacing": 10
},
"clock": {
"format": "đ {:%Y-%m-%d %H:%M}",
"tooltip-format": "{:%Y %B}\n{calendar}",
"format-alt": "đ
{:%A, %B %d, %Y}"
},
"cpu": {
"format": "â {usage}%",
"tooltip": false
},
"memory": {
"format": "đž {}%"
},
"temperature": {
"thermal-zone": 2,
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
"format": "{icon} {temperatureC}°C",
"format-icons": ["â", "đĄ", "đĨ"]
},
"backlight": {
"format": "{icon} {percent}%",
"format-icons": ["đ
", "đ"]
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": "⥠{capacity}%",
"format-plugged": "đ {capacity}%",
"format-alt": "{icon} {time}",
"format-icons": ["đĒĢ", "đ", "đ", "đ", "đ"]
},
"network": {
"format-wifi": "đļ {essid} ({signalStrength}%)",
"format-ethernet": "đ§ {ipaddr}/{cidr}",
"tooltip-format": "đ§ {ifname} via {gwaddr}",
"format-linked": "đ§ {ifname} (No IP)",
"format-disconnected": "â Disconnected",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "đ muted",
"format-icons": {
"headphone": "đ§",
"hands-free": "đ§",
"headset": "đ§",
"phone": "đą",
"portable": "đą",
"car": "đ",
"default": ["đ", "đ", "đ"]
},
"on-click": "pavucontrol"
}
}