{ "layer": "top", // Waybar at top layer "position": "top", // Waybar at the bottom of your screen "height": 35, // Waybar height "modules-left": ["sway/workspaces"], "modules-center": ["clock", "backlight"], "modules-right": ["pulseaudio", "network", "battery", "tray"], "sway/workspaces": { "disable-scroll": true, "all-outputs": false, // "format": "{icon}", // "format-icons": { // "1": " ", // "2": " ", // "3": " ", // "4": "", // "5": "", // } }, "sway/mode": { "format": "{}" }, "tray": { "icon-size": 18, "spacing": 8 }, "clock": { "format": "{: %I:%M %A %B %d}", }, "battery": { "interval": 30, "on-scroll-up": "~/.scripts/ChangeBrightness 1%+", "on-scroll-down": "~/.scripts/ChangeBrightness 1%-", "on-click": "~/.scripts/ChangeBrightness 0%", "states": { // "good": 95, "warning": 30, "critical": 15 }, "full-at": "99", "format": " {capacity}%", "format-good": " {capacity}%", // An empty format will hide the module "format-full": " Full", "format-charging": " {capacity}% " }, "network": { "interval": 5, "format-wifi": " {essid}", "format-ethernet": " {ifname}", "format-disconnected": "", "on-click": "nm-applet", "tooltip-format-wifi": "{essid}:{signalStrength}\nSpeed:{bandwidthDownBits} \n{ipaddr}" }, "pulseaudio": { "scroll-step": 1, "on-scroll-up": "amixer set Master 3%+", "on-scroll-down": "amixer set Master 3%-", "format": "", "format": "{icon} {volume}%", "format-source": "{icon} {volume}%", "format-muted": " Muted", "format-icons": { "headset": "", "headphone": "", "default": ["", ""] }, }, "backlight": { "device": "intel_backlight", "format": "", "format-icons": ["", ""], // "on-scroll-up": "brightnessctl set 1%+", // "on-scroll-down": "brightnessctl set 1%-", "on-click": "wlsunset" } }