{
    "name": "foobar",
    "layer": "top",
    "position": "top",
    "height": 30,
    "mode": "dock",
    "exclusive": true,
    "spacing": 16,
    "reload_style_on_change": true,
    "modules-left": ["hyprland/workspaces", "hyprland/window"],
    "modules-right": ["hyprland/language", "cpu", "pulseaudio", "clock#date", "clock#time"],

    "hyprland/workspaces": {
        "format": "{name}",
        "on-click": "activate",
        "all-output": true,
        "offscreen-css": true,
        "offscreen-css-text": "{name}",
        "sort-by-name": false,
        "sort-by-coordinates": true
    },
    "hyprland/window": {
        "max-length": 50
    },

    "hyprland/language": {
        "format": " {short} {variant}",
        "tooltip": true
    },
    "cpu": {
        "format": " {usage:3}%",
        "tooltip": false,
        "interval": 5
    },
    "pulseaudio": {
        "format": " {volume}%",
        "format-bluetooth": "  {volume}%",
        "format-muted": " ",
        "tooltip": false
    },
    "clock#date": {
        "format": "{:%Y-%m-%d}",
        "format-alt": "{:%Y-%m-%d}",
        "tooltip": false,
        "interval": 3600
    },
    "clock#time": {
        "format": "{:%H:%M:%S}",
        "format-alt": "{:%H:%M:%S}",
        "tooltip": false,
        "interval": 1
    }
}
