{
"layer": "bottom",
"height": 25,
"modules-left": [
"sway/workspaces",
"sway/mode",
"custom/left-decorator-black",
"mpd",
"pulseaudio"
],
"modules-center": [
"clock",
"custom/weather"
],
"modules-right": [
"custom/rec-status",
"custom/swaykbd",
"backlight",
"custom/vpn-status",
"network",
"battery#bat0",
"battery#bat1",
"custom/right-decorator-black",
"tray"
],
"sway/mode": {
"format": "{}"
},
"mpd": {
"format": " {stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon} [{elapsedTime:%M:%S}] {artist} - {title}",
"format-disconnected": " Disconnected ",
"format-stopped": " {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
"unknown-tag": "N/A",
"interval": 2,
"max-length": 50,
"consume-icons": {
"on": " "
},
"random-icons": {
"on": ""
},
"repeat-icons": {
"on": " "
},
"single-icons": {
"on": "1 "
},
"state-icons": {
"paused": "",
"playing": ""
},
"tooltip-format": "MPD now playing: {artist} - {title}",
"tooltip-format-disconnected": "MPD disconnected"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"icon-size": 16,
"spacing": 10
},
"clock": {
"format": "{:%Y-%m-%d %H:%M:%S}",
"interval": 1
},
"cpu": {
"format": "{usage}% ",
"tooltip": false
},
"memory": {
"format": "{}% "
},
"temperature": {
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}",
"format-icons": ["", "", ""]
},
"backlight": {
// "device": "acpi_video1",
"format": "{icon} {percent}%",
"format-icons": ["", ""]
},
"battery#bat0": {
"bat": "BAT0",
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-icons": [
"",
"",
"",
"",
""
]
},
"battery#bat1": {
"bat": "BAT1",
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-icons": [
"",
"",
"",
"",
""
]
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": " {essid}",
"format-ethernet": " {ifname}",
"format-linked": " {ifname}",
"format-disconnected": "⚠ Disconnected",
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}"
},
"custom/left-arrow-cyan": {
"format": ""
},
"custom/right-arrow-cyan": {
"format": ""
},
"custom/left-arrow-gray": {
"format": ""
},
"custom/left-arrow-black": {
"format": ""
},
"custom/right-arrow-black": {
"format": ""
},
"custom/left-decorator-black": {
"format": ""
},
"custom/right-decorator-black": {
"format": ""
},
"pulseaudio": {
"scroll-step": 5, // %, can be a float
"format": "{icon} {volume}%",
"format-bluetooth": "{icon} {volume}% {format_source}",
"format-muted": "",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphones": "",
"handsfree": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "termite -e ncpamixer"
},
"custom/rec-status": {
"format": "{}",
"signal": 5,
"interval": "once",
"exec": "barrecstatus"
},
"custom/vpn-status": {
"format": "{}",
"signal": 6,
"interval": "once",
"exec": "barvpnstatus"
},
"custom/weather": {
"format": "{}",
"interval": 180,
"exec": "barweather"
},
"custom/swaykbd": {
"format": " {}",
"exec": "swaykbd",
"tooltip": false
},
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 40,
"format-icons": {
"spotify": "",
"default": "🎜"
},
"escape": true,
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
}
}