{ "layer": "bottom", "position": "top", "height": 30, "spacing": 2, "exclusive": true, "gtk-layer-shell": true, "passthrough": false, "fixed-center": true, "modules-left": ["hyprland/workspaces", "hyprland/window"], "modules-right": [ "cpu", "memory", "pulseaudio", "clock", "clock#simpleclock", "custom/weather", "custom/tailscale", "network", "battery", "tray", "custom/notification", "custom/power", ], "mpris": { "format": "{cover_art} {artist} - {title}", "icon-size": 20, "max-length": 40 }, "hyprland/workspaces": { "on-click": "activate", "format": "{windows}", "all-outputs": true, "disable-scroll": false, "active-only": false, "window-rewrite": { "class<*>": "󰘔 ", "class": "󰈹 ", "class": "󰖟 " , "class": " ", "class": "󰅟 ", "class": " ", "class": " ", "class": " ", "class": " ", "class": " " } }, "hyprland/window": { "format": "{title}", "icon": true, "icon-size": 22, "seperate-outputs": true, "rewrite": { "": " Empty Workspace" } }, "tray": { "show-passive-items": true, "spacing": 10, }, "clock#simpleclock": { "tooltip": false, "format": " {:%H:%M}", }, "clock": { "format": " {:L%a %d %b}", "calendar": { "format": { "days": "{}", "months": "{}", "today": "{}", "weekdays": "{}", "weeks": "W{}", }, "mode": "month", "mode-mon-col": 1, "on-scroll": 1, }, "tooltip-format": "{calendar}", "on-click": "gnome-calendar" }, "cpu": { "format": " {usage}%", "tooltip": true, "interval": 1, "on-click": "kitty btop" }, "memory": { "format": " {used:0.1f}Gi", "on-click": "kitty btop" }, "pulseaudio": { "format": "{icon} {volume}%", "format-muted": " muted", "format-icons": { "headphone": " ", "default": [" ", " ", " "], }, "on-click": "pavucontrol", }, "battery": { "format": "{icon} {capacity}%", "format-charging": "󱐋{icon} {capacity}%", "format-plugged": "󱐋{icon} {capacity}%", "format-icons": ["󰂎", "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀"], "states": { "critical": 15, "warning": 30, }, "events": { "on-discharging-critical": "notify-send -u critical 'Low Battery'" } }, "custom/sep": { "format": "|", "tooltip": false, }, "custom/power": { "tooltip": false, "on-click": "wlogout -p layer-shell &", "format": "⏻", }, "custom/nowplaying": { "exec": "~/.config/waybar/scripts/nowplaying.sh", "interval": 2, "return-type": "json", "on-click": "playerctl play-pause" }, "custom/notification": { "escape": true, "exec": "swaync-client -swb", "exec-if": "which swaync-client", "format": "{icon}", "format-icons": { "none": "󰅺", "notification": "󰡟", "dnd-notification": "󰂛", "": "󱏬", "inhibited": "󰂛" }, "on-click": "sleep 0.1 && swaync-client -t -sw", "return-type": "json", "tooltip": false, }, "custom/weather": { "format": "{}", "interval": 600, "exec": "~/.config/hypr/scripts/weather.sh", // or your dotfiles folder if you use stow "return-type": "json", "on-click": "gnome-weather" }, "custom/tailscale": { "exec": "~/.config/waybar/scripts/tailscale.sh", "interval": 5, "return-type": "json", "on-click": "~/.config/waybar/scripts/tailscale-toggle.sh", "tooltip": true }, "network": { "interface": "wlp1s0", "format": "", "format-icons": ["󰤟 ", "󰤢 ", "󰤥 ", "󰤨 "], "format-wifi": "{icon} {essid}", "format-ethernet": "󰈀 ", "format-disconnected": "󰤮 ", "tooltip-format": "{ifname}", "tooltip-format-wifi": "{essid} ({signalStrength}%)", "tooltip-format-ethernet": "{ifname}", "tooltip-format-disconnected": "Disconnected", "max-length": 50 } }