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

[help] hover color on custom module #1838

Closed
Antidote1911 opened this issue Nov 27, 2022 · 8 comments
Closed

[help] hover color on custom module #1838

Antidote1911 opened this issue Nov 27, 2022 · 8 comments

Comments

@Antidote1911
Copy link

Antidote1911 commented Nov 27, 2022

With 0.9.15 i can change the hover color to red of a simple custom launcher module:

"custom/firefox": {
	"format": "",
        "on-click": "firefox"
},

In css:

#custom-firefox:hover{
    color: red;
}

But not work with 0.9.16 with the revert of #1120

Anyone can help to achieve this with 0.9.16 ? thank you.

Merci beaucoup pour le boulot. Waybar est super chouette !

@stefonarch
Copy link
Contributor

Here it works perfect with 0.9.16-2 on arch, actually I ignored always the syntax custom-<module> and tried with custom/module> which never worked. So thanks!


    "custom/kbdlayout": {
        "format": "{}",
        "max-length": 40,
        "interval": 1,
        "exec": "/home/stef/bin/kbdlayout",
    }
#custom-kbdlayout{
  color: white;
}

Imo issue can be closed.

@Wadekiny
Copy link

Wadekiny commented Feb 8, 2023

same problem, :hover with 0.9.17 seems to do nothing, although I set on-click

@Bvngee
Copy link

Bvngee commented Mar 11, 2023

Is there any way to do this? With the revert of #1120, I can't figure it out. Tried a bunch of options, but as it seems from reading through github issues it's not possible anymore. I also read something about a bump to gtk4 from 3 being helpful? Are we stuck for now?
Other relevant issues: #282, #1726 #1792

@sumiremu
Copy link

any news on this?

@iamkarlson
Copy link

It would be really nice to have hover effects on all elements of the waybar, it would add so much juice to the interface.

@benmoussatMouad
Copy link

Why was #1120 reverted, this feature takes the styling to another level.

@phrogg
Copy link

phrogg commented Jan 3, 2024

I would also love to have this!

@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

9 participants