{ "layer": "top", // Choose the order of the modules "modules-left": ["hyprland/workspaces", "hyprland/submap", "hyprland/window"], "modules-center": ["clock"], "modules-right": ["tray", "custom/separator", "network", "custom/separator", "cpu", "custom/separator", "memory", "custom/separator", "custom/mouse", "custom/separator", "pulseaudio", "custom/separator", "custom/disk", "custom/bits"], "hyprland/workspaces": { "format": "{icon}", "on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-down": "hyprctl dispatch workspace e-1" }, "hyprland/window": { "format": "{}", "max-length": 50, }, "hyprland/submap": { "format": " {}" }, "custom/bits": { "format": "{}", "interval": 5, "exec": "~/.config/waybar/scripts/bits.sh", }, "custom/disk": { "format": " 󰉉 {}G ", "interval": 30, "exec": "df -h --output=avail / | awk 'NR==2 {sub(/.$/, \"\", $1); print $1}'", }, "cpu": { "format": " {usage}%", "tooltip": false }, "memory": { "format": " {used:0.1f}G" }, "network": { "format-wifi": "({signalStrength}%) ", "format-ethernet": "{ifname}", "tooltip-format": "{ifname} via {gwaddr}", "format-linked": "{ifname} (No IP) ?", "format-disconnected": "", "on-click": "nm-connection-editor" }, "custom/mouse": { "format": " 󰍽 {}% ", "interval": 5, "exec": "cat /sys/class/power_supply/hidpp_battery_[0-9]*/capacity | head -n 1", }, "pulseaudio": { "format": "{icon} {volume}% {format_source}", "format-muted": "󰖁 {format_source}", "format-bluetooth": "{icon}  {volume}% {format_source}", "format-bluetooth-muted": "󰖁  {format_source}", "tooltip": false, "format-source": "  {volume}%", "format-source-muted": "", "format-icons": { "default": ["", "", ""] }, "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle", }, "clock": { "interval": 1, "format": " {:%Y-%m-%d  %H:%M:%S}" }, "tray": { "spacing": 10 }, "custom/separator": { "format": " | ", "interval": "once", "tooltip": false }, }