aboutsummaryrefslogtreecommitdiff
path: root/.bash_aliases
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-11-25 23:23:59 +0100
committerMateja <mail@matejamaric.com>2020-11-25 23:23:59 +0100
commit0709694533c652358e213cb77c3e8a670b8aec44 (patch)
tree3acbc75122bd094837c1e2a4ff6b5983aa2f0f77 /.bash_aliases
parentb95adef425e3dab8abd0f9cff73dca1eb049b075 (diff)
downloaddotfiles-0709694533c652358e213cb77c3e8a670b8aec44.tar.gz
dotfiles-0709694533c652358e213cb77c3e8a670b8aec44.zip
Better bashrc
Diffstat (limited to '.bash_aliases')
-rw-r--r--.bash_aliases7
1 files changed, 7 insertions, 0 deletions
diff --git a/.bash_aliases b/.bash_aliases
new file mode 100644
index 0000000..892a455
--- /dev/null
+++ b/.bash_aliases
@@ -0,0 +1,7 @@
+alias yts="mpv --ytdl-format='bestvideo[height<=360]+bestaudio'"
+alias ytd='youtube-dl -o "%(playlist_index)d-%(title)s.%(ext)s"'
+alias ytv3="youtube-dl --write-auto-sub -f 'bestvideo[height<=360]+bestaudio/best[height<=360]' -o '%(playlist_index)d-%(title)s.%(ext)s'"
+alias ytv4="youtube-dl --write-auto-sub -f 'bestvideo[height<=480]+bestaudio/best[height<=480]' -o '%(playlist_index)d-%(title)s.%(ext)s'"
+alias ytv7="youtube-dl --write-auto-sub -f 'bestvideo[height<=720]+bestaudio/best[height<=720]' -o '%(playlist_index)d-%(title)s.%(ext)s'"
+alias ytv10="youtube-dl --write-auto-sub -f 'bestvideo[height<=1080]+bestaudio/best[height<=1080]' -o '%(playlist_index)d-%(title)s.%(ext)s'"
+alias yta='youtube-dl --extract-audio -o "%(playlist_index)d-%(title)s.%(ext)s"'