{ "layer": "top", // Waybar at top layer "position": "bottom", // Waybar position (top|bottom|left|right) "height": 30, // Waybar height (to be removed for auto height) // Choose the order of the modules "modules-left": ["sway/workspaces", "sway/mode", "sway/window"], "modules-center": [], "modules-right": ["network", "battery", "pulseaudio", "backlight", "cpu", "memory", "temperature", "custom/layout", "clock", "tray"], // Module config "sway/mode": { "tooltip": false, "format": "{}" }, "temperature": { "thermal-zone": 1, // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "critical-threshold": 80, "format-critical": " {temperatureC}°C", "format": " {temperatureC}°C" }, "custom/vpn": { // setup wireguard here }, "network": { "tooltip": false, // "interface": "wlp2*", // (Optional) To force the use of this interface "format-wifi": " {essid} ({signalStrength}%)", "format-ethernet": "{ifname}: {ipaddr}/{cidr}", "format-linked": "{ifname} (No IP)", "format-alt": "{ifname}: {ipaddr}", "format-disconnected": "No internet" }, "battery": { "tooltip": false, "states": { "good": 95, "warning": 30, "critical": 15 }, "format": " {capacity}%", "format-alt": "{time} ", "format-charging": " {capacity}%", "format-plugged": " {capacity}%" // "format-good": "", // An empty format will hide the module // "format-full": "" // "format-icons": ["", "", "", "", "", "", ""] }, "backlight": { "device": "amdgpu_bl0", "format": "{icon} {percent}%", "format-icons": ["", ""] }, "pulseaudio": { "tooltip": true, "scroll-step": 1, // %, can be a float "format": "{icon} {volume}%", "format-bluetooth": "{volume}% {icon}", "format-muted": "", "format-source": "{volume}%", "format-source-muted": "", "format-icons": { "headphones": "", "handsfree": "", "headset": "", "phone": "", "portable": "", "car": "", //  "default": [""] }, "on-click": "pavucontrol" }, "cpu": { "interval": 5, "tooltip": false, "format": " {usage}%" }, "memory": { "format": " {}%" }, "custom/layout": { "exec": "~/.config/waybar/keyboard-layout.py", "return-type": "json", "format": "| {}" }, "clock": { "tooltip": false, "format": "| {:%d.%m.%Y %H:%M}" }, "tray": { "tooltip": false, "icon-size": 18, "spacing": 5 } }