{
  "$schema": "https://raw.githubusercontent.com/Alexays/Waybar/master/schemas/config.schema.json",
  "layer": "top",
  "position": "top",
  "height": 32,
  "spacing": 4,
  "margin": "4 6 2 6",
  "modules-left": ["hyprland/workspaces"],
  "modules-center": ["clock"],
  "modules-right": ["pulseaudio", "cpu", "battery", "tray"],

  "hyprland/workspaces": {
    "format": "{name}",
    "format-icons": {
      "active": "●",
      "default": "○",
      "urgent": "!"
    },
    "on-click": "activate",
    "disable-scroll": false
  },

  "clock": {
    "format": "{:%I:%M %p}",
    "tooltip-format": "<big>{:%A, %d %B}</big>",
    "interval": 60
  },

  "cpu": {
    "format": "CPU {usage}%",
    "interval": 5
  },

  "battery": {
    "format": "BAT {capacity}%",
    "format-icons": ["", "", "", "", ""],
    "states": {
      "warning": 20,
      "critical": 10
    },
    "interval": 5
  },

  "pulseaudio": {
    "format": "VOL {volume}%",
    "format-muted": "󰝟 Muted",
    "format-icons": ["", "", ""],
    "scroll-step": 5,
    "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
  },

  "tray": {
    "spacing": 6,
    "icon-size": 16
  }
}
