{ "layer": "bottom", "position": "bottom", "height": 24, "modules-left": ["sway/workspaces", "sway/mode"], "modules-center": [""], "modules-right": ["mpd", "network", "idle_inhibitor", "battery", "custom/storage", "cpu", "memory", "custom/weather", "tray", "clock"], "sway/mode": { "format": " {}" }, "sway/workspaces": { "format": "{name}", "disable-scroll": true }, "clock": { "format": "{:%a, %b %d | %H:%M}", "tooltip": true, "tooltip-format": "{:%Y %B}\n{calendar}", }, "battery": { "format": "| {capacity}% {icon} | ", "format-alt": "{time} {icon}", "format-icons": ["", "", "", "", ""], "format-charging": "{capacity}% CHR", "interval": 30, "states": { "warning": 25, "critical": 10 }, "tooltip": false }, "network": { "interface": "wlp2s0", "format": "{ifname}", "format-wifi": "{essid} ({signalStrength}%) | ", "format-ethernet": "{ifname} ", "format-disconnected": "", //An empty format will hide the module. "tooltip-format": "{ifname}", "tooltip-format-wifi": "{essid} ({signalStrength}%) ", "tooltip-format-ethernet": "{ifname} ", "tooltip-format-disconnected": "Disconnected", "on-click": "alacritty -e nmtui", "tooltip": false }, "pulseaudio": { "format": "{icon}", "format-alt": "{volume} {icon} | ", "format-alt-click": "click-right", "format-muted": "", "format-icons": { "phone": [" ", " ", " ", " "], "default": ["", "", "", ""] }, "scroll-step": 10, "on-click": "pavucontrol", "tooltip": false }, "mpd": { "format": "{stateIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) | ", "format-disconnected": "Disconnected ", "format-stopped": "Stopped ", "interval": 2, "state-icons": { "paused": "", "playing": "" }, "tooltip": false, "on-click": "mpc toggle", "on-click-right": "mpc next" }, "custom/storage": { "format": "{}  |", "format-alt": "{percentage}% ", "format-alt-click": "click-right", "return-type": "json", "interval": 60, "exec": "$HOME/.config/waybar/modules/storage.sh" }, "backlight": { "format": "{icon}", "format-alt": "{percent}% {icon} | ", "format-alt-click": "click-right", "format-icons": ["", ""], "on-scroll-down": "light -A 1", "on-scroll-up": "light -U 1" }, "custom/weather": { "format": "{} |", "format-alt": "{alt}: {}", "format-alt-click": "click-right", "interval": 1800, "return-type": "json", "exec": "$HOME/.config/waybar/modules/weather.sh", "exec-if": "ping wttr.in -c1" }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" }, "tooltip": false }, "cpu": { "format": "{usage}%  | ", "tooltip": false }, "memory": { "format": "{used:0.1f}G/{total:0.1f}G | " }, "tray": { "icon-size": 14 } }