tofi
tofi copied to clipboard
[Feature Request] Allow tofi-run and tofi-drun to read from stdin
Pretty much what it says on the tin! This would allow a user to pass in additional menu options to tofi-run
/tofi-drun
. One use case is enabling the use of aliases.
Hey, sorry for the delay.
I don't think this needs to go in tofi itself, as it's probably better off as just a shell script around tofi
- see my earlier reply about aliases. To aid this, I'd probably also add a tofi-compgen
alias, to just do the $PATH
-listing part of tofi, so you could add to it and feed it back in to tofi
.
Also, for tofi-drun
, it's not so easy as that's pretty specialised, and I'm not sure why you'd want to be running desktop files alongside aliases and the like.
That said, I'm not 100% against the idea, if there's some use case that a simple shell script can't solve.