Apparently if [ -n "$DISPLAY" ] was unnecessary. Also, made sprungecap output URI