{ "layer": "top", // Waybar at top layer "position": "bottom", // Waybar position (top|bottom|left|right) "height": 30, // Waybar height (to be removed for auto height) "spacing": 4, // Gaps between modules (4px) "fixed-center": true, // Choose the order of the modules "modules-left": ["mpd"], "modules-center": ["wlr/workspaces"], "modules-right": ["pulseaudio", "battery", "backlight", "network", "clock", "tray"], // Modules configuration "wlr/workspaces": { "disable-scroll": false, "on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-down": "hyprctl dispatch workspace e-1", "all-outputs": true, "format": "{icon}", "on-click": "activate", "format-icons": { "active": "", "default": "" }, "sort-by-number": true }, "mpd": { "format": " {title} - {artist}", "format-disconnected": "Disconnected", "on-click": "~/.config/rofi/bin/music", "max-length": 50, "format-stopped": "Stopped", "on-click-right": "alacritty -e ncmpcpp" }, "tray": { "spacing": 10 }, "clock": { // "timezone": "America/New_York", "format": " {:%H:%M}", "tooltip-format": " {:%Y %B}\n{calendar}", "format-alt": " {:%Y-%m-%d}" }, "backlight": { // "device": "acpi_video1", "format": "{icon} {percent}%", "format-icons": ["", "", "", "", "", "", "", ""] }, "battery": { "states": { // "good": 95, "warning": 30, "critical": 15 }, "format": "{icon} {capacity}%", "format-charging": " {capacity}%", "format-plugged": " {capacity}%", "format-alt": "{icon} {time}", "format-icons": ["", "", "", "", ""] }, "network": { "format-wifi": " {essid}", "format-ethernet": " {ifname}", "format-linked": " {ifname}", "format-disconnected": "轢 Disconected", "family": "ipv4", "tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\n⬆️ {bandwidthUpBits} ⬇️ {bandwidthDownBits}", "tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n⬆️ {bandwidthUpBits} ⬇️ {bandwidthDownBits}", "on-click": "~/.config/rofi/bin/network_menu", "on-click-right": "nm-connection-editor" }, "pulseaudio": { "scroll-step": 3, // %, can be a float "format": "{icon} {volume}%", "format-bluetooth": "{icon}  {volume}%", "format-bluetooth-muted": "婢 {icon}", "format-muted": "婢 MUTE", "format-source": "{icon} {volume}%", "format-source-muted": "", "format-icons": { "default": ["奄", "奄", "", "", "", ""] }, "on-double-click": "pavucontrol", "on-click": "pulsemixer --unmute", "on-click-right": "pulsemixer --mute" }, }