{
    "layer": "top",
    "position": "bottom",
    "height": 24,
    "spacing": 6,
    "margin-top": 0,
    "margin-bottom": 5,
    "margin-left": 5,
    "margin-right": 5,

    "modules-left": ["hyprland/workspaces"],
    "modules-center": ["hyprland/window"],
    "modules-right": ["tray", "custom/arch", "pulseaudio", "network", "battery", "memory", "cpu", "custom/weather", "clock"],

    "hyprland/workspaces": {
        "format": "{id}",
        "on-click": "activate",
        "all-outputs": false
    },

    "hyprland/window": {
        "format": "{}",
        "icon": true, "icon-size": 20,
        "max-length": 60,
        "separate-outputs": true
    },

    "clock": {
        "format": "{:%H:%M}",
        "interval": 1,
	"timezone": "America/Argentina/Buenos_Aires",
        "format-alt": "{:%A, %B %d, %Y; %H:%M:%S}",
        "tooltip-format": "<tt><small>{calendar}</small></tt>",
        "calendar": {
            "mode": "month", // year
            "mode-mon-col": 3,
            "weeks-pos": "right",
            "on-scroll": 1,
            "format": {
                "months": "<span color='#ffead3'><b>{}</b></span>",
                "days": "<span color='#ecc6d9'><b>{}</b></span>",
                "weeks": "<span color='#99ffdd'><b>W{}</b></span>",
                "weekdays": "<span color='#ffcc66'><b>{}</b></span>",
                "today": "<span color='#ff6699'><b><u>{}</u></b></span>"
            }
        }
    },

    "custom/arch": {
        "format": "",
        "tooltip-format": "Left click for logout menu, right click for app menu",
        "on-click": "wlogout -b 2 -c 2 -p layer-shell",
        "on-click-right": "wofi --show drun"
    },

    "tray": {
        "icon-size": 18,
        "spacing": 8,
        "show-passive-items": true
    },

    "cpu": {
        "format":  "󰍛 {usage}%",// 󰍛 󰍛 󰻠
        "interval": 1
    },

    "memory": {
        "format": "  {}%",
        "format-alt": "{used:0.1f} GiB used of {total:0.1f} GiB",
        "tooltip-format": "{used:0.1f} GiB used of {total:0.1f} GiB  -  ({percentage}%)\n{swapUsed:0.1f} GiB swap used of {swapTotal:0.1f} GiB  -  ({swapPercentage}%)",
        "interval": 1
    },

    "battery": {	//   
        "states": {
            "warning": 35,
            "critical": 20
        }, /*
        "format": " {capacity}%",
        "format-charging": " {capacity}%",
        "format-plugged": " {capacity}%",
        //"format-alt": "{icon} {time}",
        //"format-icons": ["", "", "", "", ""] */
		"format": "{icon} {capacity}%",
		"format-charging": "{icon} {capacity}%",
		"format-plugged": "{icon} {capacity}%",
		"format-icons": ["","","","",""],
        "interval": 1

    },

    "network": {		//   wifi! 
        "format-wifi": "  {signalStrength}%",
        "format-ethernet": "󰈀 {ipaddr}",
        "format-disconnected": "⚠",
        "tooltip-format": "{ifname}: {ipaddr}",
        "tooltip-format-wifi": "{essid} ({signalStrength}%) - {ipaddr}",
		"on-click": "networkmanager_dmenu",
        "interval": 1
    },

    "pulseaudio": {
        "format": " {volume}%",
        "format-muted": "muted",
        "format-icons": {
            "headphone": "",
            "default": ["", "", ""]
        },
        "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
		"on-click-right": "pavucontrol"
    }
}
