Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about hover on labels #2682

Closed
Jeffser opened this issue Nov 18, 2023 · 1 comment
Closed

Question about hover on labels #2682

Jeffser opened this issue Nov 18, 2023 · 1 comment

Comments

@Jeffser
Copy link

Jeffser commented Nov 18, 2023

Hi, I was wondering how hover works on labels, I have this custom widget that shows what music I'm listening to

"custom/playerctl": {
        "interval": 1,
        "exec": "~/.config/waybar/scripts/playerctl.sh",
        "on-click": "playerctl play-pause",
        "on-scroll-up": "playerctl next",
        "on-scroll-down": "playerctl previous",
        "scroll-step": 10
},

and I wanted to add a style when the cursor hovers that widget like this

#custom-playerctl:hover {
    background: white;
}

but it doesn't seem to work, is there a class that is applied to a widget when it is hovered?
thanks

@Alexays
Copy link
Owner

Alexays commented Apr 20, 2024

Fixed with #3145

@Alexays Alexays closed this as completed Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants