// -*- mode: jsonc -*-
{
    "layer": "top", // Waybar at top layer
    "height": 44, // Waybar height (to be removed for auto height)
    "width": 3418, // Waybar width
    "spacing": 4, // Gaps between modules (4px)
    "modules-left": [
        "image#arch",
        "hyprland/workspaces"
    ],
    "modules-center": [
        "hyprland/window"
    ],
    "modules-right": [
        "image#catppuccin",
        "clock",
        "hyprland/language",
        "pulseaudio",
        "network",
        "cpu",
        "memory",
        "temperature"
    ],
    "clock": {
        "timezone": "CET",
        "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
        "format-alt": "{:%Y-%m-%d}"
    },
    "cpu": {
        "interval": 0.5,
        "format": "{usage}% ",
        "tooltip": false
    },
    "memory": {
        "interval": 0.5,
        "format": "{}% "
    },
    "temperature": {
        "interval": 0.5,
        "critical-threshold": 80,
        "format": "{temperatureC}°C {icon}",
        "format-icons": ["", "", ""]
    },
    "hyprland/workspaces": {
        "window-rewrite": {},
    },
    "hyprland/window": {
        "format": "{}",
        "rewrite": {
            "(.*) — Mozilla Firefox": "🌎",
            "Zellij (.*)": "Zellij",
        },
        "separate-outputs": true
    },
    "hyprland/language": {
        
    },
    "pulseaudio": {
        "format": "{volume}% {icon}",
        "format-bluetooth": "{volume}% {icon}",
        "format-muted": "",
        "format-icons": {
            "headphone": "",
            "hands-free": "",
            "headset": "",
            "phone": "",
            "portable": "",
            "car": "",
            "default": ["", ""]
        },
        "scroll-step": 1,
        "on-click": "pavucontrol",
        "ignored-sinks": ["Easy Effects Sink"]
    },
    "network": {
        "interface": "wlp2s0",
        "format": "arstarst{ifname}",
        "format-wifi": "arstarst-wifi{essid} ({signalStrength}%) ",
        "format-ethernet": "arstarst-eth{ipaddr}/{cidr} 󰊗",
        "tooltip-format": "{ifname} via {gwaddr} 󰊗",
        "tooltip-format-wifi": "{essid} ({signalStrength}%) ",
        "tooltip-format-ethernet": "{ifname} ",
        "tooltip-format-disconnected": "Disconnected",
        "max-length": 50
    },
    "image#arch": {
        "path": "/home/walnut-arch/dev/git/.dotfiles/waybar/images/arch-logo.svg",
        "size": 26,
        "interval": 5,
    },
    "image#catppuccin": {
        "path": "/home/walnut-arch/.config/waybar/images/catppuccin-logo.png",
        "size": 28,
        "interval": 5,
    }
}
