aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSheikh Saad <sksaad48@gmail.com>2021-03-03 02:12:39 +0600
committerGitHub <noreply@github.com>2021-03-03 02:12:39 +0600
commit0d6cd6628f63f15c450dbabd423764dc2a024478 (patch)
tree1bb1f08a88a7e75f38a5ab5257ea4c968f0bea1f
parent51a278bb9936434ec942304d703988f48a840c04 (diff)
downloadytfzf-0d6cd6628f63f15c450dbabd423764dc2a024478.tar.gz
Revert change to dep_ck function
Reverting a change I made in [PR#58](https://github.com/pystardust/ytfzf/pull/58) which messed up when `YTFZF_PLAYER` has multiple words. It'd still be nice to have a better `dep_ck` function so that mpv wouldn't be a hard dependency. It isn't, really, and one could probably use VLC or some other player to the same effect.
-rwxr-xr-xytfzf2
1 files changed, 1 insertions, 1 deletions
diff --git a/ytfzf b/ytfzf
index 2bc603c..1b47f75 100755
--- a/ytfzf
+++ b/ytfzf
@@ -36,7 +36,7 @@ dep_ck () {
command -v "$dep" 1>/dev/null || { printf "$dep not found. Please install it.\n" ; exit 2; }
done
}
-dep_ck "jq" "youtube-dl" "$YTFZF_PLAYER";
+dep_ck "jq" "youtube-dl" "mpv";
############################
Un proyecto texto-plano.xyz