emersion / mako

A lightweight Wayland notification daemon
https://wayland.emersion.fr/mako
MIT License
2.22k stars 139 forks source link

Hover effects such as color change/underline #273

Open Kommynct opened 4 years ago

Kommynct commented 4 years ago

I believe there should be at least an ability to change the background color on hover, that way I can make the background transparent until i'm hovering over them. I figure there should be numerous things that should be toggle-able on hover.

emersion commented 4 years ago

Not sure how complicated we want all of this to become. Mako may become a full HTML + CSS engine if we don't pay attention.

Kommynct commented 4 years ago

Perhaps there should just be three additions

Color and background color should have :hover like in css

And an option to change the mouse pointer on hover (to the click icon, also would be useful for distinguishing notifications that are actvitable)

underline on hover.

That's less css-ey while still in my opinion taking the good aspects of it. Thoughts?

emersion commented 4 years ago

There's always "one last missing feature", until we find out what the next one is.

vilhalmer commented 4 years ago

263 is related.

Kommynct commented 4 years ago

I've thought this over a bit, and i've decided it might be better if we have a separate theme for the currently selected notification (the one that would be invoked with $ makoctl invoke ), and have a separate option that allows you to change the currently selected notification by various means, including by hovering over a notification, or $ makoctl selection up/down

I think that is a better way of handling it all, and simpler, but i'm uncertain.