Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.39k stars 696 forks source link

Having issue with tooltip not shwoing the formated tooltip #3292

Open Linkachus17 opened 4 months ago

Linkachus17 commented 4 months ago

I can't find better place to ask this general configuration but here on Issues. Sorry if I post this in wrong place I have a custom module that are configured like this:

"custom/wallpaper":{
        "format": "󰸉",
        "tooltip": true,
        "tooltip-format": "testdwadwasd",
        "on-click": "killall mpvpaper",
        "on-click-right": "$HOME/mpvpaper_killstart.sh",
        },

My issue is that, the tooltip when hovered doesn't show the formatted one "tooltip-format": "testdwadwasd", instead it shows the icon in "format": "󰸉", when hovered. Based on some example like this one, it should be showing the formatted tooltip when hovered. Unless I missed something on the Wiki, or maybe the tooltip-format in Pulseaudio and Custom are different?. Any help will be appreciated

"pulseaudio": {
        "format": "{icon} {volume} {desc} {format_source}",
        "format-bluetooth": "󰂰",
        "nospacing": 1,
        "tooltip-format": "Volume : {volume}%",
        "format-muted": "󰝟",
        "format-icons": {
            "headphone": "",
            "default": ["󰖀","󰕾",""]
        },
        //"on-scroll-up": "wpctl set-volume @DEFAULT_SINK@ 5%+",
        //"on-scroll-down": "wpctl set-volume @DEFAULT_SINK@ 5%-"
        "on-click": "pavucontrol",
        "scroll-step": 5,
        "max-length": 20,
    "ignored-sinks": ["Easy Effects Sink"]
    },