{
    "modules-left": ["sway/workspaces"],
    "modules-center": ["sway/window"],
    //"modules-right": ["pulseaudio", "cpu", "memory", "temperature", "backlight", "battery", "tray", "clock"],
    "modules-right": ["pulseaudio", "cpu", "memory", "temperature", "backlight", "battery", "tray", "custom/clock"],
    "backlight": {
        "format": "{percent}% {icon}",
        "format-icons": ["", ""],
        "on-scroll-up": "set-light +10",
        "on-scroll-down": "set-light -10",
        "smooth-scrolling-threshold": 1,
    },
    "battery": {
        "states": {
            "warning": 30,
            "critical": 15,
        },
        "format": "{capacity}% {icon}",
        "format-charging": "{capacity}% ",
        "format-plugged": "{capacity}% ",
        "format-alt": "{time} {icon}",
        "format-icons": ["", "", "", "", ""],
    },
    //"clock": {
    //    "format": "{:%a %b %d, %R}",
    //    "tooltip-format": "<tt>{calendar}</tt>",
    //},
    "custom/clock": {
        "exec": "date '+%a %b %d, %R'",
        "interval": 5,
    },
    "cpu": {
        "format": "{usage}% ",
    },
    "idle_inhibitor": {
        "format": "{icon}",
        "format-icons": {
            "activated": "",
            "deactivated": "",
        },
    },
    "memory": {
        "format": "{}% ",
    },
    "pulseaudio": {
        "format": "{volume}% {icon} {format_source}",
        "format-bluetooth": "{volume}% {icon} {format_source}",
        "format-bluetooth-muted": " {icon} {format_source}",
        "format-muted": " {format_source}",
        "format-source": "{volume}% ",
        "format-source-muted": "",
        "format-icons": {
            "headphone": "",
            "hands-free": "",
            "headset": "",
            "phone": "",
            "portable": "",
            "car": "",
            "default": ["", "", ""],
        },
        "on-click": "pavucontrol",
        "on-scroll-up": "set-vol +5",
        "on-scroll-down": "set-vol -5",
        "smooth-scrolling-threshold": 1,
    },
    "temperature": {
        "critical-threshold": 80,
        "format": "{temperatureC}°C {icon}",
        "format-icons": ["", "", ""],
    },
    "tray": {
        "icon-size": 21,
        "spacing": 10,
    },
    "sway/workspaces": {
        "disable-scroll": true,
        "format": "{name}",
    },
}

// vim: ft=css
