From e7a535dd8ad1b18289e2ab8168c7a5a73a647af1 Mon Sep 17 00:00:00 2001 From: xyz Date: Wed, 29 Sep 2021 21:27:24 -0700 Subject: refactor --- .local/bin/mpvy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/mpvy') diff --git a/.local/bin/mpvy b/.local/bin/mpvy index 2d3e5179..94898fe1 100755 --- a/.local/bin/mpvy +++ b/.local/bin/mpvy @@ -1,4 +1,5 @@ #!/bin/sh + # references: # https://www.rockyourcode.com/til-how-to-watch-youtube-videos-with-mpv-and-keyboard-shortcuts/ @@ -7,7 +8,6 @@ height=$SCRHEIGHT url="$(xsel -ob)" flag=s -# may improve to make some options mutually exclusive, see curlncm, maybe not # option f and h may do nothing if redownload? since same filename exist. yt-dlp won't download same file even without --auto-file-renameing=false. how improve? pass argument to aria2c? while getopts Aabd:f:h:su: opt; do case $opt in -- cgit v1.2.3-70-g09d2