{ "position": "top", "height": 30, "spacing": 3, "layer": "top", // Choose the order of the modules "modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad"], "modules-right": ["sway/language", "pulseaudio", "backlight", "battery", "custom/powerprofiles", "network", "clock"], "sway/workspaces": { "on-click": "activate", "sort-by-number": true, "format": "{icon}", "format-icons": { "1": "\udb82\udf3a", "2": "\udb82\udf3b", "3": "\udb82\udf3c", "4": "\udb82\udf3d", "5": "\udb82\udf3e", "6": "\udb82\udf3f", "7": "\udb82\udf40", "8": "\udb82\udf41", "9": "\udb82\udf42", "10": "\udb83\udfe9", } }, "sway/language": { "format": "{} \udb80\udf0c", "format-us": "US", "format-es": "ES", }, "sway/mode": { "format": "{}" }, "sway/scratchpad": { "format": "{icon} {count}", "show-empty": false, "format-icons": ["", ""], "tooltip": true, "tooltip-format": "{app}: {title}" }, "clock": { "tooltip-format": "{:%Y %B}\n{calendar}", "format": "\udb82\udd54 {:%H:%M}", "format-alt": "\udb80\udcf5 {:%Y-%m-%d}" }, "backlight": { "format": "{percent}% {icon}", "format-icons": ["\udb86\ude4e", "\udb86\ude4f", "\udb86\ude50", "\udb86\ude51", "\udb86\ude52", "\udb86\ude53", "\udb86\ude54", "\udb86\ude55", "\udb81\udee8"] }, "battery": { "states": { "warning": 30, "critical": 15 }, "format": "{capacity}% {icon}", "format-charging": "{capacity}% {icon}\udb81\udea5", "format-plugged": "{capacity}% {icon}\udb81\udea5", "format-alt": "{time} {icon}", "format-critical": "{capacity}% {icon}\udb84\ude38", "format-warning": "{capacity}% {icon}\udb84\ude38", "format-icons": ["\udb80\udc7a", "\udb80\udc7c", "\udb80\udc7e", "\udb80\udc80", "\udb80\udc79"] }, "custom/powerprofiles": { "exec": "bash $HOME/.config/waybar/power-profiles", "restart-interval": 5, "format": "{}", }, "pulseaudio": { "scroll-step": 1, // %, can be a float "format": "{volume}% {icon} {format_source}", "format-bluetooth": "{volume}% {icon}\udb80\udcaf {format_source}", "format-bluetooth-muted": "\udb81\udd81 {icon}\udb80\udcaf {format_source}", "format-muted": "\udb81\udd81 {format_source}", "format-source": "{volume}% \udb80\udf6c", "format-source-muted": "\udb80\udf6d", "format-icons": { "headphone": "\udb80\udecb", "hands-free": "\udb86\udc4f", "headset": "\udb80\udece", "phone": "\udb80\udff2", "portable": "\udb80\udff2", "car": "\udb80\udd0b", "default": ["\udb81\udd7f", "\udb81\udd80", "\udb81\udd7e"] }, "on-click": "wezterm start --class pulsemixer -- pulsemixer" }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface "format-wifi": "{essid} \udb81\udda9", "format-ethernet": "{ipaddr}/{cidr} \udb80\ude00", "format-disconnected": "Disconnected \udb81\uddaa", "format-alt": "{ifname}: {ipaddr}/{cidr}" }, }