Fixes #20.
@ -508,6 +508,11 @@ create_win_return_wid() {
blacklist=$(xdotool search --classname urxvtd)
pid=$(pgrep urxvtd)
eval "$program_command"
elif [[ $program =~ ^chromium ]]; then
# this may work fine
# pid=$(pgrep -o chromium)
pid=$(pgrep -a chromium | awk '!/--type/ {print $1}')
else
pid=$!