configs  Check-in [b86591543c]

Overview
Comment:Add youtube-dl config
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b86591543cd7c0d73818a4b079e3c210c934e83b6cf89f0405a42f6dbbc29baa
User & Date: js 2019-01-08 01:40:15
Context
2019-08-22
08:15
Update tmux config for 2.9 check-in: f1c8eeec76 user: js tags: trunk
2019-01-08
01:40
Add youtube-dl config check-in: b86591543c user: js tags: trunk
01:13
zshrc: Add ixio check-in: d61a572652 user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added config/youtube-dl/config.























>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
# 315  2160p[56]0  vp9
# 308  1440p[56]0  vp9
# 264  1440p       avc1
# 299  1080p[56]0  avc1
# 137  1080p       avc1

# -f 315+251/308+251/264+140/299+140/137+140/best
-f 308+251/264+140/299+140/137+140/best

--merge-output-format mkv
--external-downloader ofhttp

Changes to create_symlinks.sh.

1
2
3
4
5

6



7
8
9
10
11
12
13
14


15
16
17
18
19
20
21
#!/bin/sh
rel_dir="${PWD#$HOME/}"
echo "Configs relative to home in $rel_dir."

link_file() {

	ln -s "$3$rel_dir/$1" "$HOME/$2"



}

link_file gitconfig .gitconfig
mkdir -p $HOME/.gnupg
link_file gpg.conf .gnupg/gpg.conf ../
link_file tmux.conf .tmux.conf
link_file vim .vim
link_file vimrc .vimrc


link_file zshrc .zshrc

if test x"$(uname -s)" = x"Darwin"; then
	link_file eu_US.keylayout \
		"Library/Keyboard Layouts/eu_US.keylayout" ../../
else
	link_file Xdefaults .Xdefaults





>
|
>
>
>








>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
rel_dir="${PWD#$HOME/}"
echo "Configs relative to home in $rel_dir."

link_file() {
	if [ ! -f "$HOME/$2" ]; then
		ln -s "$3$rel_dir/$1" "$HOME/$2"
	else
		echo "$HOME/$2 already exists, skipping..."
	fi
}

link_file gitconfig .gitconfig
mkdir -p $HOME/.gnupg
link_file gpg.conf .gnupg/gpg.conf ../
link_file tmux.conf .tmux.conf
link_file vim .vim
link_file vimrc .vimrc
mkdir -p $HOME/.config/youtube-dl
link_file config/youtube-dl/config .config/youtube-dl/config ../../
link_file zshrc .zshrc

if test x"$(uname -s)" = x"Darwin"; then
	link_file eu_US.keylayout \
		"Library/Keyboard Layouts/eu_US.keylayout" ../../
else
	link_file Xdefaults .Xdefaults