{
  "layer": "bottom",
  "position": "top",
  "height": 24,
  "spacing": 15,
  "modules-left": ["sway/workspaces","sway/mode"],
  "modules-center": ["clock"],
  "modules-right": ["tray","idle_inhibitor","network", "battery","pulseaudio"],

  "sway/mode": {
    "format": "{}"
  },
  "sway/window": {
    "format": "{title}"
  },
  "network": {
    "format-wifi": "{essid} ({signalStrength}%) ",
    "format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
    "format-disconnected": "󰖪",
    "interval": 1
  },
  "battery": {
    "bat": "BAT0",
    "states": {
      "good": 95,
      "warning": 30,
      "critical": 5
    },
    "format": "Battery: {capacity}%",
    "format-charging": "Battery: {capacity}% (charging)",
    "format-plugged": "Battery: {capacity}% (plugged)",
  },
  "clock": {
    "format": "{:%I:%M %p   %m/%d/%Y}",
    "calendar": {
      "format": {
        "months": "<span color='#ffead3'><b>{}</b></span>",
        "today": "<span color='#ff6699'><b>{}</b></span>"
      }
    }
  },
  "pulseaudio": {
    "format": "{icon} {volume}%",
    "format-icons": {
      "default": ["\uf026", "\uf027", "\uf028"]
    },
    "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
    "on-click-right": "pavucontrol",
    "format-muted": "\uf00d {volume}%"
  },
  "tray": {
    "icon-size": 20,
    "spacing": 10
  },
  "idle_inhibitor": { 
    "format": "{icon}", 
    "format-icons": { 
      "activated": "\uf06e", 
      "deactivated": "\uf070" 
    } 
  }
}
