bspswallow icon indicating copy to clipboard operation
bspswallow copied to clipboard

Fixed noswallow getting ignored

Open MaybeAnonymous opened this issue 3 years ago • 1 comments

Changed line 38 so that noswallow isn't ignored

MaybeAnonymous avatar Jan 27 '22 16:01 MaybeAnonymous

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.

Moonlight63 avatar Aug 11 '22 10:08 Moonlight63