{
  "layer": "bottom",
  "position": "top",
  "height": 38,
  "spacing": 0,
  "modules-left": ["clock", "niri/workspaces"],
  "modules-center": [ ],
  "modules-right": ["network", "battery", "cpu", "memory", "custom/notification", "pulseaudio", "tray"],

"custom/keyboard-layout": {
  "interval": 1,
  "exec": "hyprctl devices -j |  jq -r '.keyboards[] | .active_keymap' |  head -n1 |  cut -c1-2 |  tr 'a-z' 'A-Z'"
},

"custom/notification": {
  "on-click": "swaync-client -t",
  "format": "♥"
},

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

  "memory": {
    "interval": 5,
    "format": "RAM: {used} GiB"
  },


  "pulseaudio": {
    "format": "{icon}   {volume}%",
    "format-muted": " Muted",
    "format-icons": ["", "", ""]
  },

  "clock": {
    "format": "{:%d.%m.%Y | %H:%M}"
  },

  "network": {
    "format-wifi": "   {essid} {signalStrength}%",
    "format-disconnected": "  No Connection"
  },
  
  "battery": {
    "format": "{capacity}% {icon}",
//    "format-icons": [, ""]
      "format-icons": {
        "default": [ "", "", "" ],
        "charging": [ "" ],
        "warning": "",
        "critical": ""
      },

      "states": {
        "warning": 20,
        "critical": 10
      }
  }

}
