Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support cursor hovering #139

Open
BigfootN opened this issue Jul 22, 2015 · 4 comments
Open

Support cursor hovering #139

BigfootN opened this issue Jul 22, 2015 · 4 comments

Comments

@BigfootN
Copy link

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 😄 , since english is not my mother tongue.

Thank you in advance and keep up the good work 👍

@Bfgeshka
Copy link

Pretty idea, useful for popups.

@neeasade
Copy link
Contributor

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

@CamilleScholtz
Copy link

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.

@neeasade
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants