tofi
tofi copied to clipboard
Add possibility to act on selection
This would e.g. allow browsing documents with something like xdg-open
and other neat features.
It could be invoked with an argument like --selection-exec="xdg-open" which could be triggered with return on the selection while tofi stays open until the user exits with ESC
I'd rather have something like this in a different form. Currently, tofi doesn't execute anything (unless you use --drun-launch
, but ideally that shouldn't be used), and I'd prefer to keep it that way.
I think what you're suggesting would be be better served with a way to allow multiple selections (such as #78), and a simple wrapper script that xdg-open
s each result. On that note, I've been thinking of making a 'tofi-contrib' repo or something, where themes and scripts like that can go - I might have a look at that soon.