skhd
skhd copied to clipboard
Is it possible to listen for mouse clicks?
Is it possible to run command when the mouse buttons are clicked?
e.g.
button1 : <command>
I was thinking exactly the same thing. My use case would be to have mod + button 4/5 to focus prev/next space. Handy.
+1 for this!
Current implementation of skhd
doesn't seem to listen for mouse clicks. While it is possible to do so, I think this project is no longer maintained to implement new features.
I am working on it on my fork. I have already implemented
- listening to mouse down events
- parsing mouse buttons in config file
- '-o' / '--observe' flag also listens to mouse down events to check your mouse button number
I haven't implement synthesizing mouse clicks yet. Once everything is ready, I will make a pull request. Hope @koekeishiya will take a look and give some comments.