{
    // Generelle indstillinger for Waybar
    "layer": "top",
    "position": "top",
    "height": 40,
    "spacing": 4,

    // Moduler placeret til venstre
    "modules-left": [
        "custom/atlantis-logo",
        "hyprland/workspaces"
    ],

    // Modul i midten
    "modules-center": [
        "clock"
    ],

    // Moduler placeret til højre
    "modules-right": [
        "pulseaudio",
        "network",
        "battery",
        "tray"
    ],

    // --- Individuel modulkonfiguration ---

    "custom/atlantis-logo": {
        "format": "ﯓ", // Erstat med et tegn fra din Lantean-skrifttype
        "tooltip": false,
        "on-click": "/home/{{ username }}/.local/bin/launch_wofi.sh" // Åbner app-menu ved klik
    },

    "hyprland/workspaces": {
        "format": "{icon}",
        "format-icons": {
            "default": "", // En hul cirkel for inaktiv
            "active": ""    // En fyldt cirkel for aktiv
        },
        "on-scroll-up": "hyprctl dispatch workspace e+1",
        "on-scroll-down": "hyprctl dispatch workspace e-1"
    },

    "clock": {
        "format": " {:%H:%M:%S}",
        "tooltip-format": "<big>{:%A, %d. %B %Y}</big>",
        "format-alt": " {:%d/%m-%Y}"
    },

    "pulseaudio": {
        "format": "{volume}% {icon}",
        "format-muted": "󰖁 Muted",
        "format-icons": ["", "", ""],
        "on-click": "pavucontrol",
        "on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +5%",
        "on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -5%",
        "tooltip": false
    },
    
    "network": {
        "format-wifi": "{essid} ",
        "format-ethernet": "{ifname} ",
        "format-disconnected": "󰌙",
        "tooltip-format-wifi": "Signal: {signalStrength}% @ {frequency}MHz",
        "on-click": "/home/{{ username }}/.local/bin/launch-wifi-menu.sh"
    },

    "battery": {
        "states": {
            "warning": 30,
            "critical": 15
        },
        "format": "{capacity}% {icon}",
        "format-charging": "{capacity}% ",
        "format-icons": ["", "", "", "", ""]
    },

    "tray": {
        "icon-size": 18,
        "spacing": 10
    }
}