{
  "layer":                              "bottom",
  "position":                           "top",
  "modules-left":                       [ "sway/workspaces", "sway/mode", "custom/media"                                                                                  ],
  "modules-center":                     [ "sway/window"                                                                                                                   ],
  "modules-right":                      [ "tray", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "battery", "clock" ],
  "sway/mode":
  {
    "format":                           "<span style=\"italic\">{}</span>"
  },
  "mpd":
  {
    "format":                           " {stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} – {album} – {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})",
    "format-disconnected":              " Disconnected",
    "format-stopped":                   " {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped",
    "unknown-tag":                      "N/A",
    "interval":                         2,
    "consume-icons":
    {
      "on":                             " "
    },
    "random-icons":
    {
      "off":                            "<span color=\"#f53c3c\"></span> ",
      "on":                             " "
    },
    "repeat-icons":
    {
      "on":                             " "
    },
    "single-icons":
    {
      "on":                             "1 "
    },
    "state-icons":
    {
      "paused":                         "",
      "playing":                        ""
    },
    "tooltip-format":                   "MPD (connected)",
    "tooltip-format-disconnected":      "MPD (disconnected)"
  },
  "idle_inhibitor":
  {
    "format":                           "{icon}",
    "format-icons":
    {
      "activated":                      "",
      "deactivated":                    ""
    }
  },
  "tray":
  {
    "spacing":                          10
  },
  "clock":
  {
    "format":                           "{:%Y-%m-%dT%H:%M:%S%z}",
    "interval":                         1,
    "tooltip-format":                   "{:%A %e. %B %Y, %H:%M:%S %Z}"
  },
  "cpu":
  {
    "format":                           " {usage}%",
    "tooltip":                          false
  },
  "memory":
  {
    "format":                           " {}%"
  },
  "temperature":
  {
    "critical-threshold":               80,
    "format":                           "{icon} {temperatureC}°C",
    "format-icons":                     ["", "", ""]
  },
  "backlight":
  {
    "format":                           "{icon} {percent}%",
    "format-icons":                     ["", ""],
    "on-click":                         "brightnessctl set +5%",
    "on-click-middle":                  "brightnessctl set 50%",
    "on-click-right":                   "brightnessctl set 5%-"
  },
  "battery":
  {
    "states":
    {
      "warning":                        30,
      "critical":                       15
    },
    "format":                           "{icon} {capacity}%",
    "format-charging":                  " {capacity}%",
    "format-plugged":                   " {capacity}%",
    "format-alt":                       "{icon} {time}",
    "format-icons":                     ["", "", "", "", ""]
  },
  "bluetooth":
  {
    "format":                           "{icon}",
    "format-alt":                       "{icon} {status}",
    "format-icons":
    {
      "enabled":                        "",
      "disabled":                       ""
    },
    "interval":                         30,
    "tooltip-format":                   "{status}"
  },
  "network":
  {
    "format-wifi":                      " {essid} ({signalStrength}%)",
    "format-ethernet":                  " {ifname}: {ipaddr}/{cidr}",
    "format-linked":                    " {ifname} (No IP)",
    "format-disconnected":              "Disconnected ⚠",
    "format-alt":                       "{ifname}: {ipaddr}/{cidr}"
  },
  "pulseaudio":
  {
    "format":                           "{icon} {volume}% {format_source}",
    "format-bluetooth":                 "{icon} {volume}% {format_source}",
    "format-bluetooth-muted":           " {icon} {format_source}",
    "format-muted":                     " {format_source}",
    "format-source":                    " {volume}%",
    "format-source-muted":              "",
    "format-icons":
    {
      "headphones":                     "",
      "handsfree":                      "",
      "headset":                        "",
      "phone":                          "",
      "portable":                       "",
      "car":                            "",
      "default":                        ["", "", ""]
    },
    "on-click":                         "pavucontrol"
  }
}
