{
  "include": "~/.config/waybar/local.d/*",
  "position": "top",
  "spacing": 0,
  "clock": {
    "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
    "format": " {:%A, %d %B %Y, %H:%M}",
    "interval": 60
  },
  "cpu": {
    "format": " {usage}%"
  },
  "memory": {
    "format": " {}%",
    "tooltip": false,
  },
  "temperature#cpu": {
    "critical-threshold": 70,
    "format": " {temperatureC}°C "
  },
  "network": {
    "format-wifi": " {ipaddr}",
    "format-ethernet": " {ipaddr}/{cidr}",
    "format-disconnected": "⚠ Disconnected",
  },
  "pulseaudio": {
    // "scroll-step": 1, // %, can be a float
    "format": "{icon} {volume}% {format_source}",
    "format-bluetooth": "{icon}  {volume}% {format_source}",
    "format-bluetooth-muted": "  {icon}  {format_source}",
    "format-muted": "  {format_source}",
    "format-source": " {volume}%",
    "format-source-muted": "",
    "format-icons": {
      "headphone": "",
      "hands-free": "",
      "headset": "",
      "phone": "",
      "portable": "",
      "car": "",
      "default": ["", "", ""]
    },
    "on-click": "pavucontrol"
  },
  "backlight": {
    "format": " {}%"
  },
  "battery": {
    "states": {
      "warning": 30,
      "critical": 15
    },
    "format": "{icon} {capacity}%",
    "format-charging": " {capacity}%",
    "format-plugged": " {capacity}%",
    "format-alt": "{time} {icon}",
    "format-icons": ["", "", "", "", ""]
  },
  "custom/waybar-mpris": {
    "return-type": "json",
    "exec": "waybar-mpris --position --autofocus --play ▶ --pause ",
    "on-click": "waybar-mpris --send toggle",
    "on-click-right": "waybar-mpris --send player-next",
    "escape": true,
    "max-length": 45,
    "scroll-step": 1
  },
}