bar icon indicating copy to clipboard operation
bar copied to clipboard

Support cursor hovering

Open BigfootN opened this issue 9 years ago • 4 comments

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:

BigfootN avatar Jul 22 '15 07:07 BigfootN

Pretty idea, useful for popups.

Bfgeshka avatar Jul 22 '15 10:07 Bfgeshka

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

neeasade avatar Oct 21 '15 19:10 neeasade

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.

CamilleScholtz avatar Oct 21 '15 19:10 CamilleScholtz

@onodera-punpun nice! does lemonbar count as a window for outputting text with wew?

neeasade avatar Oct 21 '15 19:10 neeasade