elkowar / eww

ElKowars wacky widgets
https://elkowar.github.io/eww
MIT License
9.17k stars 377 forks source link

[FEATURE] Add a different stacking rule to tooltips. #555

Open DashieTM opened 2 years ago

DashieTM commented 2 years ago

Description of the requested feature

Currently hovering over a widget with tooltip forces said tooltip to use the same stacking rule as the widget. This leads to strange behavior where a tooltip appears behind a window. 1 2

Hard to notice, but there is a tooltip behind the terminal.

My suggestion is, if possible, a flag that allows a tooltip to have a different stacking rule. Widget -> bg tooltip -> fg

If this is a bug instead, aka it works for other window managers etc then I am happy to report it instead. Currently using Hyperland.

Small note, awesome project, thanks and keep it up :D

Proposed configuration syntax

:tooltip "something" :tooltip-stacking true/false

Additional context

No response

devgioele commented 1 year ago

Also the orientation is the same for the tooltip. When using a vertical bar, tooltips show vertically on the bar itself. More customization of the tooltip is necessary

blasseye commented 11 months ago

I agree, I have my eww bar at the bottom, and the tooltips are displayed below the screen... Impossible to put them at the top. It's a great idea for a feature.