7 ms·
You sound like someone who'd like keynav http://www.semicomplete.com/projects/keynav http://www.semicomplete.com/projects/keynav
by TokenDiversity 9y ago
You sound like someone who'd like keynav http://www.semicomplete.com/projects/keynav http://www.semicomplete.com/projects/keynav
- yjftsjthsd-h 9y agoSince it wasn't linked last time I looked, code is also at https://github.com/jordansissel/keynav https://github.com/jordansissel/keynav Shameless plug: I maintain a fork at https://github.com/yjftsjthsd-g/keynav https://github.com/yjftsjthsd-g/keynav because the original author hasn't been active in a while. Edit: wrong link :)
- TokenDiversity 9y agoNot so shameless if you add a scroll functionality I tell you lol. Actually even otherwise, it's not like you're earning money so no need to disclaim!
- yjftsjthsd-h 9y agoHm. That would be useful. I might have to do that.
- yjftsjthsd-h 9y agoHeh, so I went to look and see how hard it would be to simulate mouse scrolling, and the answer is... none. Literally none. Because X11 "mouse scroll" events are represented as button presses. Mouse buttons are 1=left, 2=middle, 3=right, 4=scroll-up, 5=scroll-down. So you just stick the relevant lines in your keynavrc; ex. i click 4 e click 5 That said, I may make an effort to document this better.
- TokenDiversity 9y agoI saw, I came here to thank and noticed you replied :)
- mort96 9y agoThat looks pretty interesting. stole the idea and made something similar in bash: https://github.com/mortie/nixConf/blob/master/bin/mousetree https://github.com/mortie/nixConf/blob/master/bin/mousetree, with hotkeys configured with sxhkd: https://github.com/mortie/nixConf/blob/d87f241963edc49a571717af931ba3708c790484/.sxhkdrc#L18 https://github.com/mortie/nixConf/blob/d87f241963edc49a57171...