{ // "height": 40, // Waybar height (to be removed for auto height) "spacing": 4, // Gaps between modules (4px) // Choose the order of the modules "modules-left": ["sway/workspaces", "sway/window"], "modules-center": ["clock"], "modules-right": ["custom/tiramisu", "network", "wireplumber", "tray"], // Modules configuration // "hyprland/workspaces": { // "disable-scroll": true, // "all-outputs": true, // "warp-on-scroll": false, // "format": "{name}", // }, "sway/workspaces": { "format": "{icon}", }, "tray": { "icon-size": 21, "spacing": 10 }, "clock": { // "timezone": "America/New_York", "tooltip-format": "{:%Y %B}\n{calendar}", "format-alt": "{:%Y-%m-%d %H:%M}" }, "network": { "format-wifi": " {icon}", "format-ethernet": "  ", "format-disconnected": "󰌙", "format-icons": [ "󰤯 ", "󰤟 ", "󰤢 ", "󰤢 ", "󰤨 " ], "on-click": "alacritty -e nmtui" }, "wireplumber": { "format": "{volume}% {icon}", "format-muted": "{node_name} off", "on-click-right": "pactl set-default-sink $((s=$(pactl list short sinks | sed -e 's:^[0-9]\\+\\s\\+::' | grep -oP '^\\S+'); echo \"$s\"; echo \"$s\") | fgrep $(pactl get-default-sink) -m 1 -A 1 | tail -1)", "on-click": "pavucontrol", "max-volume": 100, "scroll-step": 2, "format-icons": ["", ""], }, "custom/tiramisu": { "format": "{} ", "exec": "sh ~/.config/polybar/scripts/polytiramisu.sh", }, }