{
  "margin-top": 0,
  "margin-left": 0,
  "margin-bottom": 0,
  "margin-right": 0,
  "height": 60, 
  "layer": "top",
  "position": "top",
  "output": "DP-1",
  "spacing": 15,
  "modules-left": ["custom/launcher", "clock", "clock#date"],
  "modules-center": ["wlr/workspaces"],
  "modules-right": ["pulseaudio", "network", "battery"],

  "wlr/workspaces": {
      "disable-scroll": true,
      "all-outputs": true,
      "on-click": "activate",
      "on-scroll-up": "hyprctl dispatch workspace e+1",
      "on-scroll-down": "hyprctl dispatch workspace e-1",
      "persistent_workspaces": {
          "1": [],
          "2": [],
          "3": [],
          "4": [],
          "5": [],
          "6": [],
      },
  },
  
  "custom/launcher": {
      "interval": "once",
      "format": "󰣇",
      "on-click": "pkill rofi || rofi --show drun",
      "tooltip": false
    },

  "memory": {
    "interval": 30,
    "format": "  {}%",
    "format-alt":" {used:0.1f}G",
    "max-length": 10
},

  "pulseaudio": {
      "format": "{icon} {volume}%",
      "format-bluetooth": "{icon}  {volume}%",
      "format-bluetooth-muted": "  muted",
      "format-muted": " muted",
      "format-icons": {
          "headphone": "",
          "hands-free": "",
          "headset": "",
          "phone": "",
          "portable": "",
          "car": "",
          "default": ["", "", " "]
      },
      "on-click-right": "pavucontrol",
    "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
  },

"network": {
      "format-wifi": "  {signalStrength}%",
      "format-ethernet": "  {signalStrength}%",
      "format-disconnected": "󰤭",
      "on-click": "alacritty -e nmtui"
},

"battery": {
    "bat": "BAT0",
    "adapter": "ADP0",
    "interval": 5,
    "states": {
        "warning": 30,
        "critical": 15
    },
    "max-length": 10,
    "format": "{icon} {capacity}%",
    "format-warning": "{icon} {capacity}%",
    "format-critical": "{icon} {capacity}%",
    "format-charging": " {capacity}%",
    "format-plugged": " {capacity}%",
    "format-alt": "{icon} {capacity}%",
    "format-full": " 100%",
    "format-icons": ["  ","  ","  ","  ","  ","  ","  ","  ","  ","  "]
},

"clock": {
    "format": "  {:%H:%M}"
},

"clock#date": {
  "format": "  {:%A, %B %d, %Y}"
},

}