{ "position": "top", // Waybar position (top|bottom|left|right) // "height": 22, // Waybar height (to be removed for auto height) // "width": 1280, // Waybar width // "spacing": 20, // Gaps between modules (I turned it off in favor of spacing in CSS) "modules-left": [ "custom/swaync", "niri/workspaces", "niri/window", ], "modules-center": [], "modules-right": [ "network", "custom/separator", "pulseaudio", "custom/separator", "battery", "custom/separator", "clock", ], "niri/workspaces": { "format": "({value})", "current-only": true, }, "niri/window": { "format": "{app_id}", }, "custom/swaync": { "tooltip": false, "format": "{icon}", "format-icons": { "notification": "󰣇 *", "none": "󰣇 -", "dnd-notification": "󰤄 *", "dnd-none": "󰤄 -", "inhibited-notification": "󰣇 *", "inhibited-none": "󰣇 -", "dnd-inhibited-notification": "󰤄 *", "dnd-inhibited-none": "󰤄 -" }, "return-type": "json", "exec-if": "which swaync-client", "exec": "swaync-client -swb", "on-click": "swaync-client -t -sw", "on-click-right": "swaync-client -d -sw", "escape": true }, "custom/separator": { "format": " ", "tooltip": false, }, "clock": { // "timezone": "America/New_York", "tooltip-format": "{:%Y %B}\n{calendar}", "format": "{:%a %F %T}", "interval": 1, }, "battery": { "states": { "warning": 30, "critical": 15 }, "format": "Bat:{capacity}%", "format-charging": "Charging:{capacity}%", "format-plugged": "Plugged:{capacity}%", "format-alt": "Bat:{time}", }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface "format-wifi": "Wifi:{essid}({signalStrength}%)", "format-ethernet": "Wired:{ipaddr}/{cidr}", "tooltip-format": "{ifname} via {gwaddr}/{cidr}\ni am {ipaddr}/{cidr}\n{signalStrength}% strength at {bandwidthUpBytes} up and {bandwidthDownBytes} down", "format-linked": " {ifname}:No IP", "format-disconnected": "Disconnected", "format-alt": "{ifname}={ipaddr}/{cidr}" }, "pulseaudio": { // "scroll-step": 1, // %, can be a float "format": "{icon}:{volume}% | {format_source}", "format-bluetooth": "{icon}(BT):{volume}% | {format_source}", "format-bluetooth-muted": "{icon}(BT):Muted | {format_source}", "format-muted": "{icon}:Muted | {format_source}", "format-source": "Mic:{volume}%", "format-source-muted": "Mic:Muted", "format-icons": { "headphone": "Headphones", "hands-free": "", "headset": "", "phone": "", "portable": "", "car": "", "default": "Speakers" }, }, }