{ "bar_id": "bar-0", "ipc": true, "layer": "bottom", "position": "bottom", "height": 22, "modules-left": ["sway/workspaces", "sway/mode"], "modules-center": [""], "modules-right": ["mpd", "network", "idle_inhibitor", "custom/storage", "custom/storagehome", "cpu", "memory", "custom/weather", "tray", "battery", "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}", "on-click": "gsimplecal", }, "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": "wlo1", "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": "foot -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" }, "custom/storagestorage": { "format": "{}  |", "format-alt": "{percentage}% ", "format-alt-click": "click-right", "return-type": "json", "interval": 60, "exec": "$HOME/.config/waybar/modules/storagestorage.sh" }, "custom/storagehome": { "format": "{}  |", "format-alt": "{percentage}% ", "format-alt-click": "click-right", "return-type": "json", "interval": 60, "exec": "$HOME/.config/waybar/modules/storagehome.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 } }