{
    "layer": "top",
    "height": 30, // Waybar height (to be removed for auto height)
    "margin-top": 5,
    "margin-left": 5,
    "margin-right": 5,
    "spacing": 5, // Gaps between modules (4px)


    "modules-left": [ "cpu", "memory","battery"],
    "modules-center": ["wlr/workspaces"],
    "modules-right": ["pulseaudio", "network",  "clock"],



    "wlr/workspaces": {

        "on-scroll-up": "hyprctl dispatch workspace e+1",
        "on-scroll-down": "hyprctl dispatch workspace e-1",
        "format": "{icon}",
        "format-active": " {icon} ",
        "on-click": "activate",

        "format-icons": {
            "1": "I",
            "2": "II",
            "3": "III",
            "4": "IV",
            "5": "V",
            "urgent": "",
            "default": "I"
        }
    },


    "hyprland/window": {
        "format": "{}"
    },


    "tray": {
        "spacing": 10
    },


    "clock": {
        "format": "{:%I:%M %p}",
        "format-alt": "{:%a %b %d}",
        "tooltip-format": "<big>{:%B %Y}</big>\n<tt><small>{calendar}</small></tt>",
    },



    "cpu": {
      "interval": 1,
      "format": " {usage}%",
      "max-length": 100,
      "on-click": "",
    },


    "memory": {
        "interval": 3,
        "format-alt": " {}%",
        "format":" {used:0.1f}G",
        "max-length": 10,
        "tooltip": false
    },




    "network": {
        "format-wifi": "直 {essid}",
        "format-ethernet": " wired",
        "format-disconnected": "睊",
        "tooltip": false
    },





    "pulseaudio": {
        "on-scroll-up": "pulsemixer -i 5",
		"on-scroll-down": "pulsemixer -d 5",

        "format": "{icon} {volume}%",
        "format-bluetooth": "  {volume}%",
        "format-bluetooth-muted": "婢 ",
        "format-muted": "婢",

        "format-icons": {
            "headphone": "",
            "hands-free": "",
            "headset": "",
            "phone": "",
            "portable": "",
            "car": "",
            "default": ["", "", ""]
        },

        "on-click": "pavucontrol",
    },

    "bluetooth": {
        "format": " {status}",
    },





    "battery": {
        "states": {
            "warning": 30,
            "critical": 15
        },
        "format": "{icon}",
        "format-charging": " ",
        "format-plugged": " ",
        "format-full": " ",
        "format-alt": "{icon} {capacity}%",
        "format-icons": [" ", " ", " ", " ", " "],
        "tooltip": false
    },

}

