{ "layer": "top", "height": 28, // Waybar height (to be removed for auto height) "spacing": 0, // Gaps between modules (4px) "modules-left": ["hyprland/workspaces", "custom/media"], "modules-center": ["hyprland/window"], "modules-right": ["idle_inhibitor", "pulseaudio", "network", "disk", "memory", "temperature", "clock", "tray"], "hyprland/workspaces": { "format": "{id}", "on-click": "activate", "sort-by": "number" }, "keyboard-state": { "numlock": true, "capslock": true, "format": "{name} {icon}", "format-icons": { "locked": "", "unlocked": "" } }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" } }, "disk": { "interval": 30, "format": "{free} free 󰋊" }, "tray": { // "icon-size": 21, "spacing": 10 }, "clock": { // "timezone": "America/New_York", "tooltip-format": "{:%Y %B}\n{calendar}", "format": "{:%a, %d %b %Y • %H:%M %Z} 󰥔", "format-alt": "{:%Y-%m-%d} 󰥔" }, "memory": { "format": "{}% 󰍛" }, "temperature": { // "thermal-zone": 2, // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "critical-threshold": 80, // "format-critical": "{temperatureC}°C {icon}", "format": "{temperatureC}°C {icon}", "format-icons": ["󱃃", "󰔏", "󱃂"] }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface "format-wifi": "{essid} ({signalStrength}%) 󰤨", "format-ethernet": "󰌘", "tooltip-format": "{ifname} via {gwaddr}", "format-linked": "󰌚", "format-disconnected": "󰌙", "format-alt": "{ipaddr}/{cidr} 󰌘" }, "pulseaudio": { // "scroll-step": 1, // %, can be a float "format": "{volume}% {icon} {format_source}", "format-muted": "󰝟 {format_source}", "format-source": "{volume}% 󰍬", "format-source-muted": "󰍭", "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 } }