From 635bf5e6940b294b55cf541f43ef09f927e7e99c Mon Sep 17 00:00:00 2001 From: tiyn Date: Sun, 3 Jul 2022 13:43:59 +0200 Subject: [PATCH] aliasrc/profile: better setup for yt-dl and openaudible --- .config/aliasrc | 5 +++++ .profile | 3 +++ 2 files changed, 8 insertions(+) diff --git a/.config/aliasrc b/.config/aliasrc index f4b7377..64c9a69 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -52,6 +52,9 @@ alias calendar="khal interactive" # khard alias contacts="khard" +# kolourpaint +alias paint="kolourpaint" + # ls(d) alias l="lsd" alias la="lsd -la" @@ -114,3 +117,5 @@ alias yay="yay --sudoloop --noredownload --norebuild" # youtube-dl alias yta="youtube-dl -f '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'" diff --git a/.profile b/.profile index f23c925..799c986 100644 --- a/.profile +++ b/.profile @@ -38,6 +38,9 @@ export TMUX_TMPDIR="${XDG_CACHE_HOME}/tmux" export WGETRC="${XDG_CONFIG_HOME}/wgetrc" export ZDOTDIR="${XDG_CONFIG_HOME}/zsh" +# external programs +export OPENAUDIBLE_HOME="${HOME}/documents/openaudible" + # java export JAVA_HOME="/usr/lib/jvm/java-11-openjdk" export _JAVA_AWT_WM_NONREPARENTING=1