replace "st -e" with sxmo_terminal.sh and edit it to use st -e instead of st

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
noneofyourbusiness 2021-06-04 11:11:36 +02:00 committed by Maarten van Gompel
parent 358d79894e
commit 1121e29b3e
14 changed files with 56 additions and 54 deletions

View file

@ -73,10 +73,10 @@ resultsmenu() {
exit 0
elif [ "$AUDIOONLY" = 1 ]; then
URL="$(echo "$PICKED" | awk -F " " '{print $NF}')"
st -e mpv -ao=alsa -v --no-video "$URL" &
sxmo_terminal.sh mpv -ao=alsa -v --no-video "$URL" &
else
URL="$(echo "$PICKED" | awk -F " " '{print $NF}')"
st -e mpv -ao=alsa -v --ytdl-format='[height<420]' "$URL" &
sxmo_terminal.sh mpv -ao=alsa -v --ytdl-format='[height<420]' "$URL" &
fi
done
}