{
  "layer": "top",
  "position": "top",

  "modules-left": [ "niri/workspaces" ],
  "modules-right": [ 
    "tray",
    "idle_inhibitor",
    "network#ethernet",
    "network#wifi",
    "network#vpn",
    "battery#bat0",
    "battery#bat1",
    "wireplumber",
    "clock"
  ],

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

  "idle_inhibitor": {
    "tooltip": false,
    "format": "{icon}",
    "format-icons": {
      "activated": "󰅶",
      "deactivated": "󰒲",
    },
  },

  "niri/workspaces": {
    "format": "{icon}",
    "format-icons": {
      "browser": "󰈹",
      "work": "󰈙",
      "games": "󰊗",
      "media": "󰝚",
      "chat": "󰭹",
      "default": "",
    },
  },

  "network#ethernet": {
    "interface": "enp0s31f6",
    "tooltip": false,
    "format": "󰈀",
    "format-disconnected": "",
  },

  "network#wifi": {
    "interface": "wlp3s0",
    "tooltip": true,
    "tooltip-format": "{essid}",
    "format": "{icon}",
    "format-disconnected": "󰤮",
    "format-icons": [ "󰤟", "󰤢", "󰤥", "󰤨" ],
    "on-click": "nm-connection-editor",
  },

  "network#vpn": {
    "interface": "wg0",
    "tooltip": false,
    "format": "󰖂",
    "format-disconnected": "",
  },

  "clock": {
    "tooltip": true,
    "tooltip-format": "{:%A %d %B}",
    "format": "󰥔  {:%H:%M}",
  },

  "wireplumber": {
    "on-click": "flatpak run com.saivert.pwvucontrol",
    "tooltip": false,
    "format": "{icon} {volume}%",
    "format-muted": "󰝟",
    "format-icons": [ "󰕿", "󰖀", "󰕾" ],
  },

  "battery#bat0": {
    "bat": "BAT0",
    "tooltip": true,
    "tooltip-format": "BAT0: {capacity}%",
    "states": {
      "warning": 30,
      "critical": 15,
    },
    "format-icons": [ "󰁺","󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹" ],
    "format": "{icon}",
    "format-charging": "󰂄",
  },

  "battery#bat1": {
    "bat": "BAT1",
    "tooltip": true,
    "tooltip-format": "BAT1: {capacity}%",
    "states": {
      "warning": 30,
      "critical": 15,
    },
    "format-icons": [ "󰁺","󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹" ],
    "format": "{icon}",
    "format-charging": "󰂄",
  },
}
