Always kick mpv to use -ao=alsa; prevents alsa from trying to use pulse

This commit is contained in:
Miles Alan 2020-07-08 22:42:21 -05:00
parent 9919f49d82
commit e0067998c8
4 changed files with 8 additions and 8 deletions

View file

@ -41,7 +41,7 @@ recordconfirm() {
dmenu -p "$DUR" -fn Terminus-18 -c -l 10
)"
if echo "$PICK" | grep "Playback"; then
st -e mpv -v "$FILE"
st -e mpv -ao=alsa -v "$FILE"
elif echo "$PICK" | grep "Delete Recording"; then
rm "$FILE"
echo "File deleted." | dmenu -fn Terminus-18 -c -l 10