{ "layer": "top", "position": "top", "height": 25, "spacing": 0, "modules-left": ["wlr/taskbar"], "modules-center": ["clock"], "modules-right": ["network","bluetooth","custom/proxy","custom/spotify","custom/language","pulseaudio","cpu","battery","power-profiles-daemon","wlr/tray","clock#date"], "wlr/taskbar": { "format": "{icon}", "icon-size": 15, "tooltip-format": "{title}", "on-click": "activate" }, "custom/language": { "exec": "xkb-switch -p | tr '[:lower:]' '[:upper:]' || echo '??'", "tooltip": false, "interval": 1, "format": "[ {}]" }, "custom/spotify": { "format": "[played: [{}] ]", "exec": "playerctl metadata --format '{{artist}} - {{title}}' spotify 2>/dev/null || echo ''", "tooltip": false, "restart-interval": 1, "on-click": "spotify-launcher", "max-length": 50 }, "custom/proxy": { "format": "[proxy]", "tooltip": false, "on-click": "alacritty -e sudo yast2 proxy" }, "clock": { "format": "[{:%H:%M}]", "tooltip": false, "on-click": "gnome-calendar" }, "clock#date": { "format": "[{:%d-%m-%Y}]", "tooltip": false, "on-click": "gnome-calendar" }, "cpu": { "format": "[ {usage}%]", "tooltip": false, "on-click": "alacritty -e htop" }, "network": { "min-length": 10, "format-wifi": "[ {essid} {bandwidthDownBytes}]", "format-ethernet": "[ {bandwidthDownBytes}]", "format-disconnected": "[🛪 no WI-FI]", "interval": 1, "on-click": "nm-connection-editor" }, "bluetooth": { "format": "[ blu-th]", "format-disabled": "[🛪 disabled]", "format-off": "[🛦 off]", "format-connected": "[ {num_connections}]", "tooltip-format": "[{device_enumerate}]", "on-click": "blueman-manager" }, "battery": { "format": "[{icon} {capacity}%]", "format-charging": "[ {capacity}% {icon}]", "format-plugged": "[ {capacity}%]", "interval": 1, "format-icons": [ "", "", "", "", "" ], "states": { "warning": 30, "critical": 15 } }, "power-profiles-daemon": { "format": "[{icon}]", "tooltip": false, "format-icons": { "default": "default", "performance": "performance", "balanced": "balanced", "power-saver": "power-saved" }, }, "pulseaudio": { "format": "[ {volume}%]", "format-muted": "[ muted]", "on-click": "pavucontrol" }, "wlr/tray": { "icon-size": 10, "spacing": 15 } }