aliasrc/profile: better setup for yt-dl and openaudible

master
tiyn 3 years ago
parent 2b62eb1fbf
commit 635bf5e694

@ -52,6 +52,9 @@ alias calendar="khal interactive"
# khard # khard
alias contacts="khard" alias contacts="khard"
# kolourpaint
alias paint="kolourpaint"
# ls(d) # ls(d)
alias l="lsd" alias l="lsd"
alias la="lsd -la" alias la="lsd -la"
@ -114,3 +117,5 @@ alias yay="yay --sudoloop --noredownload --norebuild"
# youtube-dl # youtube-dl
alias yta="youtube-dl -f 'bestaudio[ext=m4a]'" alias yta="youtube-dl -f 'bestaudio[ext=m4a]'"
alias ytv="youtube-dl -f 'bestvide[ext=mp4]+bestaudio[ext=m4a]'" alias ytv="youtube-dl -f 'bestvide[ext=mp4]+bestaudio[ext=m4a]'"
alias yta2c="youtube-dl --external-downloader aria2c --external-downloader-args '-j 16 -x 16 -s 16 -k 2M' -f 'bestaudio/best'"
alias ytv2c="youtube-dl --external-downloader aria2c --external-downloader-args '-j 16 -x 16 -s 16 -k 2M' -f 'bestvideo[height>=720]+bestaudio/best'"

@ -38,6 +38,9 @@ export TMUX_TMPDIR="${XDG_CACHE_HOME}/tmux"
export WGETRC="${XDG_CONFIG_HOME}/wgetrc" export WGETRC="${XDG_CONFIG_HOME}/wgetrc"
export ZDOTDIR="${XDG_CONFIG_HOME}/zsh" export ZDOTDIR="${XDG_CONFIG_HOME}/zsh"
# external programs
export OPENAUDIBLE_HOME="${HOME}/documents/openaudible"
# java # java
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk" export JAVA_HOME="/usr/lib/jvm/java-11-openjdk"
export _JAVA_AWT_WM_NONREPARENTING=1 export _JAVA_AWT_WM_NONREPARENTING=1

Loading…
Cancel
Save