[
  {
    "include": [
      "~/.config/waybar/monitor.json"
    ],

    "layer": "top",
    "position": "top",
    "height": 40,
    "spacing": 4,

    "modules-left": [
      "custom/launcher",
      "user",
      "hyprland/window"
    ],

    "modules-center": [
      "hyprland/workspaces"
    ],

    "modules-right": [
      "pulseaudio",
      "network",
      "cpu",
      "memory",
      "temperature",
      "clock",
      "tray"
    ],

    "custom/launcher": {
      "format": "<span font=\"FontAwesome\"></span> ",
      "interval": "once",
      "tooltip": false
    },

    "hyprland/workspaces": {
      "all-outputs": false,
      "format": "{name}",
      "on-click": "activate",
      "sort-by-coordinates": false,
      "sort-by-name": true,
      "sort-by-number": false
    },

    "pulseaudio": {
      "format": "<span font=\"FontAwesome\"></span> {volume}%",
      "format-muted": "<span font=\"FontAwesome\"></span> ",
      // "on-click": "alacritty -o font.size=12 -e ncpamixer -t o"
      "on-click": "kitty ncpamixer -t o"
    },

    "network": {
      "format": "<span font=\"FontAwesome\"></span> {ipaddr}",
      "format-disconnected": "<span font=\"FontAwesome\"></span> ",
      "interface": "enp8s0",
      "tooltip-format": "{ifname} via {gwaddr}"
    },

    "cpu": {
      "format": "<span font=\"FontAwesome\"></span> {load}%"
    },

    "memory": {
      "format": "<span font=\"FontAwesome\"></span> {percentage}%"
    },

    "temperature": {
      "format": "<span font=\"FontAwesome\"></span> {temperatureC}°C",
      "thermal-zone": 3
    },

    "clock": {
      "format": "<span font=\"FontAwesome\"></span> {:%H:%M}",
      "timezone": "Europe/Berlin",
      "tooltip-format": "<tt><small>{calendar}</small></tt>"
    },

    "tray": {
      "icon-size": 20,
      "show-passive-items": true,
      "spacing": 5
    }
  }
]