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

    "modules-left": ["hyprland/workspaces", "mpris"],

    "modules-center": [
        "hyprland/window"
        //"mpris"
    ],

    "modules-right": [
        "tray",
        "pulseaudio",
        "network",
        "battery",
        "memory",
        "cpu",
        "temperature",
        "clock"
    ],

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

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

    "temperature": {
        "thermal-zone": 0,
        "format": " {temperatureC}°C"
    },

    "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",
            "mode-mon-col": 3,
            "weeks-pos": "right",
            "on-scroll": 1
        }
    },

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

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

    "memory": {
        "format": " {}%",
        "interval": 1
    },

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

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

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