{ "layer": "top", "position": "top", "height": 26, // "width": 1366, "modules-left": ["hyprland/workspaces"], "modules-center": ["hyprland/window"], "modules-right": ["tray","battery","pulseaudio","network","clock","custom/notification"], "hyprland/workspaces": { "disable-scroll": true, "all-outputs": false, "format": "{name}" }, "tray": { "icon-size": 18, "spacing": 10 }, "clock": { "format": "{:%I:%M}", "format-alt": "{:%m.%d.%Y}", "tooltip-format": "{calendar}", "calendar": { "mode" : "year", "mode-mon-col" : 3, "on-scroll" : 1, "on-click-right": "mode", "format": { "months": "{}", "days": "{}", "weekdays": "{}", "today": "{}" } }, "actions": { "on-click-right": "mode" } }, "cpu": { "format": "{usage}% 󰘚" }, "memory": { "format": "{}% 󰍛", "tooltip-format": "{used:0.1f}G/{total:0.1f}G" }, "battery": { "bat": "BAT1", "states": { "good": 85, "warning": 25, "critical": 15 }, "format": "{icon}", "format-alt": "{capacity}%", "format-charging": "", "format-plugged": " ", "format-icons": ["", "", "", "", ""] }, "network": { // "interface": "wlp2s0", // (Optional) To force the use of this interface // "format-wifi": "{essid} ({signalStrength}%) ", "format-wifi": "", "tooltip-format": "{signalStrength}%: {ipaddr}/{cidr}", "format-ethernet": "{ifname}: {ipaddr}/{cidr} ", "format-disconnected": "⚠", "on-click": "wofi-wifi-menu" }, "pulseaudio": { //"scroll-step": 1, "format": "{icon}", // "format-alt": "{volume}%", "format-bluetooth": "{icon}", "format-muted": "", "format-icons": { "headphones": "", "handsfree": "", "headset": "", "phone": "", "portable": "", "car": "", "default": ["", ""] }, "on-click": "pavucontrol" }, "custom/spotify": { "format": "{}", "max-length": 40, "interval": 10, // Remove this if your script is endless and write in loop "exec": "$HOME/.config/waybar/mediaplayer.sh 2> /dev/null", // Script in resources folder "exec-if": "pgrep spotify" }, "custom/notification": { "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 } }