{
    "modules-left":  ["hyprland/workspaces"],
    "modules-center": ["clock"],
    "modules-right": ["tray", "cpu", "memory", "network", "pulseaudio", {% if (hostvars[ansible_hostname]['mobile_platform'] | default('false')) | bool %}"battery", {% endif %}"custom/power"],
    "hyprland/workspaces": {},
    "clock": {
        "format": "  {:%H:%M %d.%m.}",
        "timezone": "Europe/Berlin"
    },
    "cpu": {
        "interval": 5,
        "format": "  {usage}%"
    },
    "memory": {
        "interval": 5,
        "format": "  {used} GiB/{total} GiB ({percentage}%)"
    },
    "network": {
        "format-ethernet": "  {ipaddr}",
        "format-wifi": "{icon}  {essid}",
        "format-disconnected": "",
        "format-icons": ["", "", "", "", ""]
    },
    "pulseaudio": {
        "format": "{icon}  {volume}%",
        "format-muted": "  muted",
        "format-icons": ["", "", ""],
        "reverse-scrolling": true,
        "on-click": "swaymsg exec amixer -q set Master toggle"
    },
    "tray": {
        "icon-size": 16,
        "spacing": 10
    {% if (hostvars[ansible_hostname]['mobile_platform'] | default('false')) | bool %}
    },
    "battery": {
        "format": "{icon}  {capacity}%",
        "format-charging": "  {capacity}%",
        "format-icons": ["", "", "", "", ""]
    {% endif %}
    }
}
