{ "layer": "top", // Waybar at top layer "position": "top", // Waybar position (top|bottom|left|right) "height": 45, // Waybar height (to be removed for auto height) "spacing": 0, // Gaps between modules (4px) "modules-left": ["custom/arch", "tray", "hyprland/workspaces", "sway/mode", "hyprland/special", "custom/media"], "modules-center": ["pulseaudio", "network", "cpu", "memory", "temperature", "keyboard-state", "battery", "battery#bat2"], // "modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "battery#bat2", "clock", "tray"], "modules-right": ["clock", "clock#date"], // Modules configuration "hyprland/workspaces": { "format": "{icon}{name}", "format-icons": { "1": "󰈹 ", "2": "󱛉 ", "3": " ", "4": "󰊗 ", "8": "󰭹 ", "9": "󱃔 ", "10": "󰃭 ", "urgent": "󰀨 ", "focused": "󰪥 ", "default": "󰝥 " } }, "keyboard-state": { "numlock": true, "capslock": true, "format": "{name} {icon}", "format-icons": { "locked": "", "unlocked": "" } }, "sway/mode": { "format": "{}" }, "sway/window": { "max-length": 55 }, "hyprland/window": { "max-length": 55, "tooltip": true }, "sway/scratchpad": { "format": "{icon} {count}", "show-empty": false, "format-icons": ["", ""], "tooltip": true, "tooltip-format": "{app}: {title}" }, "mpd": { "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ", "format-disconnected": "Disconnected ", "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", "unknown-tag": "N/A", "interval": 2, "consume-icons": { "on": " " }, "random-icons": { "off": " ", "on": " " }, "repeat-icons": { "on": " " }, "single-icons": { "on": "1 " }, "state-icons": { "paused": "", "playing": "" }, "tooltip-format": "MPD (connected)", "tooltip-format-disconnected": "MPD (disconnected)" }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" } }, "tray": { // "icon-size": 21, "spacing": 10 }, "clock": { "format": "󰥔 {:%H:%M}", // "timezone": "America/New_York", "tooltip-format": "{:%H:%M:%S}", "format-alt": "󰥔 {:%H:%M:%S}", "interval": 1 }, "clock#date": { "format": "󰃭 {:%d/%m/%y}", "tooltip-format": "{:%d %B}\n{calendar}", "format-alt": "󰃭 {:%A, %d %B %Y}", "interval": 30 }, "cpu": { "format": "󰘚 {usage}%", "interval": 5, }, "memory": { "format": "󰆼 {}%", "interval": 10, }, "temperature": { // "thermal-zone": 2, // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "critical-threshold": 80, // "format-critical": "{temperatureC}°C {icon}", "format": "{icon} {temperatureC}°C", "format-icons": ["󱃃", "󰔏", "󱃂"] }, "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-good": "", // An empty format will hide the module // "format-full": "", "format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󰁹"] }, "battery#bat2": { "bat": "BAT2" }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface "format-wifi": "󰖩 {signalStrength}%", "format-ethernet": "{ipaddr}/{cidr}", "tooltip-format": "Interface: {ifname}\nSSID: {essid}\nIP Address: {ipaddr}\nGateway: {gwaddr}", "format-linked": "{ifname} (No IP)", "format-disconnected": "󱚼 {ifname}", "format-alt": "󰖩 {ifname}: {ipaddr}/{cidr}" }, "pulseaudio": { // "scroll-step": 1, // %, can be a float "format": "{icon} {volume}%", "format-bluetooth": " {volume}%", "format-bluetooth-muted": "󰝟 {volume}%", "format-muted": "󰝟 {volume}%", "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": 20, "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 }, "custom/alsa": { "format": "󰕾 {}", "exec": "amixer get Master | grep -o [0-9]*%", "interval": 1 }, "custom/arch": { "format": "󰣇", "tooltip": true, "tooltip-format": "i use arch btw", "on-click": "~/Scripts/rofi-power.sh" }, "custom/sep": { "format": "|" } }