This is useful for quickly producing hacky GUI interfaces.
Is there a similar way to easily select one of several strings with a gui from the command-line in mac?
Example of what rofi is useful for
Searching and playing audio files from a known location.
cd music ls | rofi | xargs vlc
You might bind this to a key. The key point is that you have complete programmatic over control and the input and how the output is used.k