Улучшены псевдонимы для youtube-dl

This commit is contained in:
Andrei Astafev 2020-12-09 12:06:17 +03:00
parent 2baad93acc
commit 46541ea6fd

View File

@ -19,7 +19,12 @@ apts() {
}
# Youtube
alias ydlbest="youtube-dl --merge-output-format mkv -f 'bestvideo+bestaudio'"
YDL="$HOME/bin/youtube-dl"
[ ! -x "$YDL" ] && YDL="$(which youtube-dl)"
if [ -x "$YDL" ]; then
alias ydlbest="youtube-dl --merge-output-format mkv -f 'bestvideo+bestaudio'"
alias ydl="youtube-dl --merge-output-format mkv"
fi
# feh
alias feh="feh --cache-size 256 --version-sort --sort filename --image-bg black"