JopStro / bspswallow

dwm-like swallowing for bspwm
MIT License
126 stars 12 forks source link

Fixed noswallow getting ignored #23

Open MaybeAnonymous opened 2 years ago

MaybeAnonymous commented 2 years ago

Changed line 38 so that noswallow isn't ignored

Moonlight63 commented 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.