{ "layer": "top", // Waybar at top layer "position": "bottom", // Waybar position (top|bottom|left|right) "height": 30, // Waybar height (to be removed for auto height) // "width": 1280, // Waybar width // "spacing": 2, // Gaps between modules (4px) // Choose the order of the modules "modules-left": ["wlr/taskbar"], "modules-center": ["custom/playerctl", "custom/playerlabel"], "modules-right": ["custom/updates", "custom/power"], // Modules configuration "wlr/taskbar": { "format": "{icon}", "icon-size": 15, //"icon-theme": "Numix-Circle", "tooltip-format": "{title}", "on-click": "activate", "on-click-middle": "close" }, "custom/power": { "format": " ⏻ ", "tooltip": false, "on-click": "wlogout --protocol layer-shell" }, "custom/updates": { "exec": "~/.config/hypr/scripts/systemupdate.sh", "return-type": "json", "format": "󰮯 {}", "on-click": "~/.config/hypr/scripts/systemupdate.sh up", "interval": 86400, // once every day "tooltip": true, }, "tray": { // "icon-size": 21, "spacing": 10 }, "custom/playerctl": { "format": "{icon}", "return-type": "json", "max-length": 64, "exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F", "on-click-middle": "playerctl play-pause", "on-click": "playerctl previous", "on-click-right": "playerctl next", "format-icons": { "Playing": "󰒮 󰐌 󰒭", "Paused": "󰒮 󰏥 󰒭" }, }, "custom/playerlabel": { "format": "{}", "return-type": "json", "max-length": 40, "exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F", "on-click-middle": "playerctl play-pause", "on-click": "playerctl previous", "on-click-right": "playerctl next", "format-icons": { "Playing": "󰒮 󰐌 󰒭", "Paused": "󰒮 󰏥 󰒭" }, "clock": { "format": "{:%H:%M}", "tooltip-format": "{:%Y %B}\n{calendar}" }, }, }