Open ralismark opened 5 years ago
Yes that is currently as designed.
It is on my todo to improve, but not completely trivial.
It looks like all script will executed even if we don't show it
rofi -modi "run,ssh,test:sleep 10" -show run
With the previous example, rofi will block 10 seconds.
I wrote a translate plugin by default translate primary selection, will block rofi many seconds
It looks like all script will executed even if we don't show it
This is correct.
I wrote a translate plugin by default translate primary selection, will block rofi many seconds
Plugins (not scripts) can do any asynchronious behavior they want. This is up to their developers.
Rofi is mend to be a quick launcher/menu, if you have something that takes seconds (blocking or not), it is the question if a rofi mode is the right tool for it.
Version
Output of
rofi -v
Configuration
Output of
rofi -help
: https://gist.github.com/ralismark/b7b92d41387c4d690a08c258ee7904e1Launch Command
rofi -no-config -show script:./test
Contents of
./test
:Steps to reproduce
./test
with above contents and make executablerofi -no-config -show script:./test
in same directoryWhat behaviour you see
async-pre-read
.What behaviour you expect to see
loading...
while script runs, like it does with./test | rofi -no-config -dmenu