~scoopta/wofi#205: 
Select entries on mouse hover

Hello, first of all thanks to all contributors to wofi, what a wonderful tool.

I tend to use it with my mouse a lot (when I'm on the couch and too lazy for a keyboard) and wofi's mouse behaviour is a little user unfriendly, as there is currently no way to style entries on mouse hover, making it quite easy to click the wrong option.

I propose an option to select entries on mouse hover, meaning the ":selected" CSS selector would be applied and so on. This paired with the single_click option would be the ideal setup for me personally and the feature would likely also be useful for others.

How feasible is this proposal?

Status
REPORTED
Submitter
~badgerson
Assigned to
No-one
Submitted
1 year, 1 month ago
Updated
1 year, 21 days ago
Labels
No labels applied.

~scoopta 1 year, 22 days ago

I've been giving this some thought. It's definitely feasible and I really like the idea but it's not going to be trivial to implement based on some initial experimenting I've done due to the fact that wofi doesn't put an event box basically anywhere in its widget tree and inserting one could be really problematic with people's existing custom CSS. I'll do a bit more experimenting to see if I can find a solution that will work.

~badgerson 1 year, 21 days ago

Just for reference there is another (potential) solution involving GTK's "button" elements - they are used in a few Waybar widgets allow for easy ":hover" styling. However this would unfortunately also require modifying the widget tree.

Register here or Log in to comment, or comment via email.