[ { "name": "main", "layer": "top", "position": "top", "height": 38, "spacing": 4, "margin-top": 0, "margin-bottom": 0, "output": "eDP-1", "reload_style_on_change": true, "modules-left": [ "disk", "memory", "cpu", "temperature", "pulseaudio" ], "modules-center": ["hyprland/workspaces"], "modules-right": [ "tray", "network#wifi", "custom/weather", "battery", "clock", "custom/poweroff" ], "battery": { "interval": 20, "states": { "warning": 30, "critical": 15 }, "format": "{icon} {capacity}%", "format-icons": [" ", " ", " ", " ", " "], "max-length": 25 }, "clock": { "interval": 1, "format": "{:%I:%M:%S %p}", "format-alt": "{:%Y-%m-%d}", "tooltip-format": "{:%Y %B}\n{calendar}" }, "cpu": { "format": " {usage}%", "tooltip": false }, "disk": { "format": " {}%", "tooltip-format": "{used} / {total} used" }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" } }, "memory": { "format": " {}%", "tooltip-format": "{used:0.1f}G / {total:0.1f}G used" }, "temperature": { "critical-threshold": 80, "format": "{icon} {temperatureC}°C", "format-icons": ["", "", "", "", ""], "hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input" }, "network#wifi": { "interface": "wlo1", "format-wifi": " {signalStrength}%", "format-disconnected": "", "tooltip-format": "{ifname}: {ipaddr}/{cidr}" }, "hyprland/workspaces": { "format": "{icon}", "sort-by-number": true, "all-outputs": true, "disable-scroll": true, "active-only": false, "format-icons": { "default": "", "persistent": "", "active": "" }, "persistent-workspaces": { "1": [ ], "2": [ ], "3": [ ], "4": [ ], "5": [ ] } }, "wlr/taskbar": { "format": "{name}", "icon-size": 32, "tooltip": false, "on-click": "activate", "on-click-right": "close", "all-outputs": true, "ignore-list": [ "xwaylandvideobridge" ], "rewrite": { "(.*)Firefox Web Browser": "", "(.*)Discord": "󰙯", "(.*)Alacritty": "", "Steam(.*)": "", "(.*)Spotify": "" } }, "pulseaudio": { "format": " {volume}%", "format-muted": " 0%", "max-volume": 100, "scroll-step": 0 }, "tray": { "icon-size": 21, "spacing": 10 }, "custom/spotify": { "interval": 1, "return-type": "json", "exec": "~/.config/waybar/scripts/spotify.sh", "exec-if": "pgrep spotify", "escape": true }, "custom/poweroff": { "tooltip": false, "format": " ", "on-click": "bash ~/.config/waybar/scripts/poweroff.sh" }, "custom/weather": { "exec": "~/.config/waybar/scripts/get_weather.sh Belleville+Illinois", "return-type": "json", "format": "{}", "tooltip": true, "interval": 3600 } } ]