{ // "layer": "top", // Waybar at top layer // "position": "bottom", // Waybar position (top|bottom|left|right) "height": 30, // Waybar height (to be removed for auto height) // "width": 1280, // Waybar width "spacing": 4, // Gaps between modules (4px) // Choose the order of the modules "modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad"], "modules-center": ["sway/window"], "modules-right": ["cpu", "memory", "temperature", "backlight", "battery", "tray", "clock"], // Modules configuration "sway/mode": { "format": "{}" }, "sway/scratchpad": { "format": "{icon} {count}", "show-empty": false, "format-icons": ["", ""], "tooltip": true, "tooltip-format": "{app}: {title}" }, "tray": { // "icon-size": 21, "spacing": 10 }, "clock": { "tooltip-format": "{:%Y %B}\n{calendar}", "format-alt": "{:%Y-%m-%d}" }, "cpu": { "format": "PROC {usage}%", "tooltip": false }, "memory": { "format": "MEM {}%" }, "temperature": { "thermal-zone": 2, // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "critical-threshold": 80, // "format-critical": "{temperatureC}°C {icon}", "format": "{temperatureC}°C" }, "backlight": { // "device": "acpi_video1", "format": "BKL {percent}%" }, "battery": { "states": { // "good": 95, "warning": 30, "critical": 15 }, "format": "BAT {capacity}%", "format-charging": "CHR {capacity}%", "format-plugged": "CHR {capacity}%" // "format-good": "", // An empty format will hide the module // "format-full": "", } }