diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2021-07-10 17:24:30 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2021-07-10 17:24:30 +1200 |
commit | 3be1f02edfc2ee74d76ae2a994b8a5015ea7d41c (patch) | |
tree | 13538e1af8060406ead2d4cca1ccc233ac3500d8 | |
parent | Add clipboard copy to scrot screen snap (diff) | |
download | dotfiles-3be1f02edfc2ee74d76ae2a994b8a5015ea7d41c.tar.gz dotfiles-3be1f02edfc2ee74d76ae2a994b8a5015ea7d41c.zip |
Add youtube-dl config
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | youtube-dl/config | 5 |
3 files changed, 11 insertions, 0 deletions
@@ -52,6 +52,7 @@ install-vint \ install-wget \ install-x \ + install-youtube-dl \ install-zsh \ check \ check-bash \ @@ -636,6 +637,10 @@ install-x: check-xinit cp -p -- X/Xresources $(HOME)/.Xresources cp -p -- X/Xresources.d/* $(HOME)/.Xresources.d +install-youtube-dl: + mkdir -p -- $(XDG_CONFIG_HOME)/youtube-dl + cp -p -- youtube-dl/config $(XDG_CONFIG_HOME)/youtube-dl + install-zsh: check-zsh install-sh mkdir -p -- $(HOME)/.zshrc.d cp -p -- zsh/profile.d/*.sh $(HOME)/.profile.d @@ -113,6 +113,7 @@ Configuration is included for: - [Vim](https://www.vim.org/)---Vi IMproved, a text editor - [X11](https://www.x.org/wiki/)---Windowing system with network transparency for Unix +- [youtube-dl](https://youtube-dl.org/)---Download manager for video hosting websites There is also some slightly customized support for multi-version environment management for three major scripting languages: diff --git a/youtube-dl/config b/youtube-dl/config new file mode 100644 index 00000000..ae2162f5 --- /dev/null +++ b/youtube-dl/config @@ -0,0 +1,5 @@ +# Get WebM if we can, but keep going if not +--format 'bestvideo[ext=webm]+bestaudio[ext=webm]/best' + +# Save into the ~/download directory +--output ~/download/%(title)s-%(id)s.%(ext)s |