{ "layer": "top", // Waybar at top layer // "output": ["DP-1"], "position": "top", // Waybar position (top|bottom|left|right) // "height": 30, // Waybar height (to be removed for auto height) // "width": 1280, // Waybar width // "spacing": 4, // Gaps between modules (4px) // Choose the order of the modules "modules-left": ["custom/menu", "hyprland/workspaces", "custom/updates"], "modules-center": ["custom/playerctl", "custom/playerlabel"], "modules-right": ["network", "custom/div", "pulseaudio", "custom/div", "clock", "tray", "custom/power"], "keyboard-state": { "numlock": true, "capslock": true, "format": "{name} {icon}", "format-icons": { "locked": "", "unlocked": "" } }, "sway/mode": { "format": "{}" }, "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": "󰥔" }, "tray": { // "icon-size": 21, "spacing": 10 }, "clock": { "format": "{:%H:%M}", "tooltip-format": "{:%Y %B}\n{calendar}" }, "cpu": { "format": "{usage}% ", "tooltip": false }, "memory": { "format": "{}% " }, "temperature": { "thermal-zone": 1, "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}", "format-ethernet": "󱘖 hardwired", "tooltip-format": "󱘖 {ipaddr}  {bandwidthUpBytes}  {bandwidthDownBytes}", "format-linked": "󱘖 {ifname} (No IP)", "format-disconnected": " Disconnected", "format-alt": "󰤨 {signalStrength}%", "interval": 5 }, "pulseaudio": { "scroll-step": 1, // %, can be a float, "format": "{volume}% {icon} {format_source}", "format-bluetooth": "{volume}% {icon} {format_source}", "format-bluetooth-muted": " {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 }, "custom/menu": { "format": "󰣇", "tooltip": false, "on-click": "rofi -show drun", }, "hyprland/workspaces": { "active-only": false, "format": "{icon}", "format-icons": { "urgent": "", "active": "", "default": "󰧞", "sort-by-number": true, }, "persistent-workspaces":{ "1": [ "DP-1" ], "2": [ "DP-1" ], "3": [ "DP-1" ], "4": [ "DP-1" ], "5": [ "DP-1" ], "6": [ "HDMI-A-1" ], "7": [ "HDMI-A-1" ], "8": [ "HDMI-A-1" ], "9": [ "HDMI-A-1" ], } }, "custom/div": { "format": "/", "tooltip": false, }, "custom/playerctl": { "format": "{icon}", "return-type": "json", "max-length": 64, "exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F", "on-click-middle": "playerctl play-pause", "on-click": "playerctl previous", "on-click-right": "playerctl next", "format-icons": { "Playing": "󰒮 󰐌 󰒭", "Paused": "󰒮 󰏥 󰒭" }, }, "custom/playerlabel": { "format": "{}", "return-type": "json", "max-length": 40, "exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F", "on-click-middle": "playerctl play-pause", "on-click": "playerctl previous", "on-click-right": "playerctl next", "format-icons": { "Playing": "󰒮 󰐌 󰒭", "Paused": "󰒮 󰏥 󰒭" }, }, "custom/name": { "format": "ダンテコンピュータ", "tooltip":false, }, "custom/power": { "format": " ⏻ ", "tooltip": false, "on-click": "wlogout --protocol layer-shell" }, "custom/updates": { "exec": "~/.config/hypr/scripts/systemupdate.sh", "return-type": "json", "format": "󰮯 {}", "on-click": "~/.config/hypr/scripts/systemupdate.sh up", "interval": 86400, // once every day "tooltip": true, }, "wlr/taskbar": { "format": "{icon}", "icon-size": 15, //"icon-theme": "Numix-Circle", "tooltip-format": "{title}", "on-click": "activate", "on-click-middle": "close" }, }