diff options
author | xyz <gky44px1999@gmail.com> | 2021-09-29 21:27:24 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-09-29 21:27:24 -0700 |
commit | e7a535dd8ad1b18289e2ab8168c7a5a73a647af1 (patch) | |
tree | e6d4038cc1c27c6da5398fd6d8a51f5652d8631b /.local/bin/mpvy | |
parent | ce3cf8239255302cda4616bb482db062f8c75bfa (diff) |
refactor
Diffstat (limited to '.local/bin/mpvy')
-rwxr-xr-x | .local/bin/mpvy | 2 |
1 files changed, 1 insertions, 1 deletions
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 |