{
  "layer": "top",
  "height": 34,

  //"modules-left":  ["hyprland/window"],

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

  "modules-right": [
    "idle_inhibitor",
    "pulseaudio",
    "network",
    //  "cpu",
    //  "memory",
    //  "temperature",
    "battery",
    "tray",
    "clock",
    "custom/notifications",
  ],

 /*
 "custom/notifications": {
    "tooltip": false,
    "return-type": "json",
    "exec-if": "which swaync-client",
    "exec": "swaync-client -swb",
    "format": "{icon}",
    "format-icons": {
      "notification": "",
      "none": "",
      "dnd-notification": "󰂠",
      "dnd-none": "󰪓",
    },
    "on-click": "swaync-client -t",
    "on-click-right": "swaync-client -d",
    "on-click-middle": "swaync-client -dn",
  },
*/

  "idle_inhibitor": {
    "tooltip": true,
    "format": "{icon}",
    "format-icons": {
      "activated": "  ",
      "deactivated": " 󰒲  ",
    },
    "tooltip-format-activated": "Staying awake",
    "tooltip-format-deactivated": "Might sleep....",
  },

  "pulseaudio": {
    "format": "{volume}% {icon}",
    "format-bluetooth": "{volume}% {icon}",
    "format-muted": "",
    "format-icons": {
      "headphones": "",
      "headset": "",
      "phone": "",
      "portable": "",
      "default": ["", ""],
    },
    "on-click": "pavucontrol",
  },

  "network": {
    "format-wifi": "  ({bandwidthDownBits})",
    "format-ethernet": "  ({bandwidthDownBits})",
    "format-disconnected": "Disconnected ⚠",
    "tooltip-format-wifi": "{essid} ({signalStrength}%)",
    "tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}",
    "on-click": "impala",
    "on-click-right": "nm-connection-editor",
  },

  "cpu": {
    "format": "{usage}%  ",
    "tooltip": false,
  },

  "memory": {
    "format": "{percentage}%  ",
  },

  "temperature": {
    "format": "{temperatureC}°C ",
    "tooltip": false,
  },

  "tray": {
    "spacing": 10,
    "icon-size": 14,
  },

  "clock": {
    "format": "{:%a, %d %b %Y - %H:%M}",
    "tooltip": false,
    "on-click": "flatpak run eu.betterbird.Betterbird -calendar",
  },

  "battery": {
    "bat": "BAT0",
    "states": {
      "good": 95,
      "warning": 30,
      "critical": 15,
    },
    "format": "{capacity}% {icon}",
    "format-charging": "{capacity}% 󰂄",
    "format-plugged": "{capacity}%  ",
    "format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󱈏 "],
  },
}
