Do not merge this yet, the code is uber-ugly!!
This PR builds on https://github.com/buster/rrun/pull/9 and adds the ability to configure runners for completions (see src/config.toml).
Currently, the first runner (in probably arbitrary sequence) for a completion type will be used, but later it might be nice to allow choosing between runners.
Example:
You configure a completion that has type url (from your bookmarks, Google Search, Youtube, ...) and can then choose between runners for Firefox, Chrome, wget, ...
I'm happy for feedback where code can be improved, I just hacked along and tried to make the compiler happy :p
Btw, it would be great to create a nicer UI, maybe similar to Albert :+1:
Do not merge this yet, the code is uber-ugly!! This PR builds on https://github.com/buster/rrun/pull/9 and adds the ability to configure runners for completions (see
src/config.toml
). Currently, the first runner (in probably arbitrary sequence) for a completion type will be used, but later it might be nice to allow choosing between runners. Example: You configure a completion that has typeurl
(from your bookmarks, Google Search, Youtube, ...) and can then choose between runners for Firefox, Chrome, wget, ...I'm happy for feedback where code can be improved, I just hacked along and tried to make the compiler happy :p
Btw, it would be great to create a nicer UI, maybe similar to Albert :+1: