commit 51ec55fc3b5ef75c78d2bca27e1c27d9e9b50c1f
parent 167ec2beb42fedfcc24bc85799c04d8cb64a4290
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Mon, 13 Apr 2026 03:21:03 +0530
parent 167ec2beb42fedfcc24bc85799c04d8cb64a4290
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Mon, 13 Apr 2026 03:21:03 +0530
vim: Update plugins sh: Update songdl to create archive.txt file
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/.config/vim/plugins b/.config/vim/plugins @@ -68,8 +68,9 @@ will133/vim-dirdiff #tomtom/ttodo_vim # research ongoing #vim-scripts/SearchComplete #vim-scripts/gitignore +#vim-scripts/mru.vim #vim-scripts/vimacs +#weynhamz/vim-plugin-minibufexpl # shows all the buffers atop, but I don't need it most of the time as I just use :ls, or browes with :Ex or do fuzzy search these days #xolox/vim-easytags #xolox/vim-misc #yegappan/searchcomplete -#weynhamz/vim-plugin-minibufexpl # shows all the buffers atop, but I don't need it most of the time as I just use :ls, or browes with :Ex or do fuzzy search these days
diff --git a/.local/bin/sh/songdl b/.local/bin/sh/songdl @@ -2,12 +2,15 @@ [ $# -ne 1 ] && echo "Usage: $0 <youtube-url>" && exit 1 -: ${XDG_MUSIC_DIR:=$HOME/Music} -cd "${XDG_MUSIC_DIR:?$XDG_MUSIC_DIR not found}" +: "${XDG_MUSIC_DIR:=$HOME/Music}" +cd "${XDG_MUSIC_DIR:?$XDG_MUSIC_DIR not found}" || exit 1 song_name=$1 -yt-dlp --extract-audio --audio-format mp3 "$song_name" --external-downloader aria2c +( + set -x; + yt-dlp --extract-audio --audio-format mp3 "$song_name" --download-archive "$XDG_MUSIC_DIR/archive.txt" +) if type mpc >/dev/null; then mpc update
: bharatvaj/dotfiles