Open MaybeAnonymous opened 2 years ago
Could I suggest also adding [ $gppid -lt 1 ] && return 0
after line 26? I found that launching an app from rofi would swallow the terminal I am focused on, even though I didn't launch it from the terminal. This seems to fix it because otherwise the value of gppid is 0, and ps
prints an error about being out of bounds which is not gracefully handled.
Changed line 38 so that noswallow isn't ignored