{
"layer": "top", // Waybar at top layer
"mode": "hide",
"passthrough": "false",
"spacing": 0,
"position": "right", // Waybar position (top|bottom|left|right)
/* "height": 10, // Waybar height (to be removed for auto height) */
// Choose the order of the modules
"modules-left": ["custom/hour", "custom/minutes", "sway/workspaces"],
// "modules-center": ["custom/transparent"],
"modules-right": ["tray", "idle_inhibitor", "network", "pulseaudio", "battery", "clock"],
// Modules configuration
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "{index} {icon}",
"format-icons": {
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"6": "",
"urgent": "",
"focused": "",
"default": ""
}
},
"sway/mode": {
"format": "{}"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"icon-size": 14,
},
"clock": {
// "timezone": "America/Chicago",
"format": "{:%H\n%M\n%S}",
"interval": 1,
"tooltip-format": "{:%m/%d/%y %H:%M:%S}",
"format-alt": "{:%m\n%d\n%y}"
},
"battery": {
"interval": 60,
"states": {
"warning": 30,
"critical": 15
},
"format-charging": " {icon} {capacity}%",
"format": "{icon} {capacity}%",
"format-icons": [
"",
"",
"",
"",
""
],
"tooltip": true
},
"cpu": {
"format": "{usage}% ",
"tooltip": false
},
"memory": {
"format": "{}% "
},
"temperature": {
"critical-threshold": 80,
"format": "{temperatureC}°C {icon}",
"format-icons": [""]
},
"pulseaudio": {
"format": "{icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-icons": {
"headphone": "",
"default": ["", ""]
},
"scroll-step": 1,
"on-click": "pavucontrol"
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "",
"format-ethernet": "",
"tooltip-format": "{ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
}
}