{ "layer": "top", "modules-left": ["sway/workspaces", "sway/window", "pulseaudio/slider"], "modules-center": ["custom/weather"], "modules-right": ["cpu", "memory", "network", "battery", "custom/bg", "custom/date"], "sway/workspaces": { "all-outputs": true }, "sway/window": { "all-outputs": true, "max-length": 20 }, "pulseaudio/slider": { "min": 0, "max": 100 }, "custom/spotify-scroll": { }, "custom/weather": { "exec": "weather -pd", "on-click": "i3-scratchpad.sh scratch st -n scratch -e weather -f", "on-click-right": "weather -r", "on-click-midde": "i3-scratchpad.sh scratch st -n scratch -e weather -pf" }, "cpu": { "format": "CPU: {usage}%" }, "memory": { "format": "RAM: {percentage}%", "tooltip-format": "RAM: {used}/{total} GiB" }, "network": { "interval": 2, "format-icons": ["󰤟 ", "󰤢 ", "󰤥 ", "󰤨 "], "format-ethernet": "ETH: {bandwidthTotalBytes}", "format-wifi": "WLAN: {icon}", "tooltip-format": "DOWN: {bandwidthDownBits} UP: {bandwidthUpBits} IP: {ipaddr}" }, "battery": { "format": "BAT: {capacity}%", "format-tooltip": "{timeTo}", "format-time": "{H} hours {M} minutes", }, "custom/bg": { "exec": "echo -e '\uf1c5'", "interval": "once", "on-click": "wallpaper.sh -s" }, "custom/date": { "exec": "date +'%a, %b %d %l:%M %P'", "interval": 10 } }