{
  "layer": "top", // Waybar at top layer
  "position": "bottom", // Waybar position (top|bottom|left|right)
  "height": 30,
  "modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
  "modules-center": [],
  "modules-right": ["temperature", "network", "battery", "pulseaudio", "backlight", "cpu", "memory", "custom/layout", "clock", "tray"],
  // Module config
  "sway/mode": {
    "tooltip": true,
    "format": "<span weight=\"bold\">{}</span>"
  },
  "temperature": {
    "thermal-zone": 1,
    "hwmon-path": "/sys/class/hwmon/hwmon2/temp3_input",
    "critical-threshold": 80,
    "format-critical": "🌡 {temperatureC}°C",
    "format": " {temperatureC}°C"
  },
  "custom/vpn": {
  },
  "network": {
    "tooltip": false,
    "interface": "wlp3s0*",
    "format-wifi": " {essid} ({signalStrength}%)",
    "format-ethernet": "{ifname}: {ipaddr}/{cidr}",
    "format-linked": "{ifname} (No IP)",
    "format-alt": "{ifname}: {ipaddr}",
    "format-disconnected": "No internet"
  },
  "battery": {
    "tooltip": false,
    "states": {
        "good": 95,
        "warning": 30,
        "critical": 15
    },
    "format": "{icon} {capacity}%",
    "format-alt": "{time} {icon} {power}",
    "format-charging": " {capacity}%",
    "format-icons": ["🪫", "", "🔋"],
    "format-plugged": " {capacity}%"
  },
  "backlight": {
    "device": "amdgpu_bl0",
    "format": "{icon} {percent}%",
    "format-icons": ["", ""]
  },
  "pulseaudio": {
    "tooltip": true,
    "scroll-step": 1.0,
    "format": "{icon} {volume}%",
    "format-bluetooth": " {volume}%",
    "format-muted": "🔇",
    "format-source": "{volume}%",
    "format-source-muted": "🔇",
    "format-icons": {
        "headphones": "🎧",
        "handsfree": "🎧",
        "headset": "🎧",
        "phone": "",
        "portable": "",
        "car": "",
        "default": ["🔊"]
    },
    "on-click": "pavucontrol"
  },
  "cpu": {
    "interval": 5,
    "tooltip": false,
    "format": " {usage}%"
  },
  "memory": {
    "format": " {}%"
  },
  "custom/layout": {
    "exec": "~/.config/waybar/keyboard-layout.py",
    "return-type": "json",
    "format": "| <span color='#ef9f33'>{}</span>"
  },
  "clock": {
    "tooltip": false,
    "format": "| {:%d.%m.%Y %H:%M}"
  },
  "tray": {
    "tooltip": false,
    "icon-size": 18,
    "spacing": 5
  }
}
