bar
bar copied to clipboard
Support cursor hovering
Hello,
So to start with I hope that this kind of enhancement hasn't been proposed yet. So, everything is in the title. I would like to know if it would be possible to add the ability to have a trigger a chosen command (like the %{A:command}) but when the cursor is over a certain area of the bar. I hope I made myself clear enough :smile: , since english is not my mother tongue.
Thank you in advance and keep up the good work :thumbsup:
Pretty idea, useful for popups.
FYI, here's a program that someone used to implement 'hot corners' (mouse hover for corners of the screen) that you might work off of to do a hover over screen space thing.
https://github.com/ens1/cornered
And, as someone pointed out in the original thread , you can also use xdotool to get a similar effect: xdotool behave_screen_edge --quiesce 600 --delay 0 top-left exec /path/to/script.sh
also check wmutils wew: https://github.com/wmutils/opt/blob/master/wew.c
It outputs text when entering/leaving windows, I'm sure you can use it in a script.
@onodera-punpun nice! does lemonbar count as a window for outputting text with wew?