{ "layer": "top", // Waybar at top layer "position": "top", // Waybar at the bottom of your screen "height": 24, // Waybar height // "width": 1366, // Waybar width // Choose the order of the modules "modules-left": ["hyprland/workspaces"], "modules-center": ["hyprland/window"], "modules-right": ["pulseaudio", "custom/VPN", "network", "custom/bandwidth", "cpu", "memory", "battery", "tray", "clock"], "hyprland/workspaces": { "disable-scroll": true, "all-outputs": false, "on-click": "activate", "format": "{icon}", "format-icons": { "1": "", "2": "", "3": "", "4": "", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", "0": "0", "urgent": "", "focused": "", "default": "" } }, "tray": { // "icon-size": 21, "spacing": 10 }, "clock": { "format-alt": "{:%Y-%m-%d}" }, "cpu": { "format": "{usage}% " }, "memory": { "format": "{}% " }, "battery": { // "bat": "BAT0", "states": { // "good": 95, "warning": 20, "critical": 10 }, "format": "{capacity}% {icon}", "format-alt": "{time} {icon}", "format-icons": ["", "", "", "", ""] }, "network": { // "interface": "wlp2s0", // (Optional) To force the use of this interface "format-wifi": "{essid} ({signalStrength}) ", "format-ethernet": "{ifname}: {ipaddr}/{cidr} ", "format-disconnected": "Disconnected ⚠" }, "custom/bandwidth": { "exec": "$HOME/.config/waybar/scripts/bandwidth" }, "custom/VPN": { "format": "{}", "interval": 5, "max-length": 20, "exec": "$HOME/.config/waybar/scripts/vpn" }, "pulseaudio": { //"scroll-step": 1, "format": "{volume}% {icon}", "format-bluetooth": "{volume}% {icon}", "format-muted": "", "format-icons": { "headphones": "", "handsfree": "", "headset": "", "phone": "", "portable": "", "car": "", "default": ["", ""] }, "on-click": "pavucontrol" }, "custom/spotify": { "format": " {}", "max-length": 40, "interval": 30, // Remove this if your script is endless and write in loop "exec": "$HOME/.config/waybar/mediaplayer.sh 2> /dev/null", // Script in resources folder "exec-if": "pgrep spotify" } }