// -*- mode: json -*-

{
    "layer": "top",
    "position": "top",

    "modules-left": [
	"sway/workspaces",
	"custom/right-arrow-dark"
    ],
    "modules-center": [
	"custom/left-arrow-dark",
	"clock#1",
	"custom/left-arrow-light",
	"custom/left-arrow-dark",
	"clock#2",
	"custom/right-arrow-dark",
	"custom/right-arrow-light",
	"clock#3",
	"custom/right-arrow-dark"
    ],
    "modules-right": [
	"custom/left-arrow-dark",
	"pulseaudio",
	"custom/left-arrow-light",
	"custom/left-arrow-dark",
	"memory",
	"custom/left-arrow-light",
	"custom/left-arrow-dark",
	"cpu",
	"custom/left-arrow-light",
	"custom/left-arrow-dark",
	"battery",
	"custom/left-arrow-light",
	"tray"
    ],

    "custom/left-arrow-dark": {
	"format": "",
	"tooltip": false
    },
    "custom/left-arrow-light": {
	"format": "",
	"tooltip": false
    },
    "custom/right-arrow-dark": {
	"format": "",
	"tooltip": false
    },
    "custom/right-arrow-light": {
	"format": "",
	"tooltip": false
    },

    "sway/workspaces": {
	"disable-scroll": true,
	"format": "{name}"
    },

    "clock#1": {
	"format": "{:%a}",
	"tooltip": false
    },
    "clock#2": {
	"format": "{:%H:%M}",
	"tooltip": false
    },
    "clock#3": {
	"format": "{:%m-%d}",
	"tooltip": false
    },

    "pulseaudio": {
	"format": "VOL: {volume:2}%",
	"format-bluetooth": "{icon}  {volume}%",
	"format-muted": "MUTE",
	"format-icons": {
	    "headphones": "",
	    "default": [
		"",
		""
	    ]
	},
	"scroll-step": 5,
	"on-click": "pamixer -t",
	"on-click-right": "pavucontrol"
    },
    "memory": {
	"interval": 5,
	"format": "MEM {}%"
    },
    "cpu": {
	"interval": 5,
	"format": "CPU {usage:2}%"
    },
    "battery": {
	"states": {
	    "good": 95,
	    "warning": 30,
	    "critical": 15
	},
	"format": "BAT: {capacity}%",
    },
    "disk": {
	"interval": 5,
	"format": "Disk {percentage_used:2}%",
	"path": "/"
    },
    "tray": {
	"icon-size": 10
    }
}