// -*- mode: jsonc -*- { "layer": "bottom", // Waybar at top layer "exclusive": false, "position": "bottom", // Waybar position (top|bottom|left|right) // "width": 1280, // Waybar width "spacing": 2, // Gaps between modules (4px) // Choose the order of the modules "modules-right": [ "network", "battery", "clock" ], "clock": { "format": "{:%m-%d %H:%M}", "format-alt": "{:%Y-%m-%d}" }, "battery": { "states": { // "good": 95, "warning": 30, "critical": 15 }, "format": "BAT: {capacity}%", "format-full": "BAT: 100%", "format-charging": "BAT: {capacity}%", "format-icons": ["", "", "", "", ""] }, "battery#bat2": { "bat": "BAT2" }, "network": { // "interface": "wlp2*", // (Optionall) To force the use of this interface "format-wifi": "NET: CONNECTED", "format-ethernet": "{ipaddr}/{cidr} ", "tooltip-format": "{ifname} via {gwaddr} ", "format-linked": "{ifname} (No IP) ", "format-disconnected": "DISC", "format-alt": "{ifname}: {ipaddr}/{cidr}" }, "pulseaudio": { "format": "AUD: {volume}%", "format-bluetooth": "AUD: {volume}", "format-bluetooth-muted": "AUD: MUTE", "format-muted": "AUD: MUTE", "format-icons": { "headphone": "", "hands-free": "", "headset": "", "phone": "", "portable": "", "car": "", "default": ["", "", ""] }, "on-click": "pavucontrol" }, "custom/media": { "format": "{icon} {}", "return-type": "json", "max-length": 40, "format-icons": { "spotify": "", "default": "🎜" }, "escape": true, "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name } }