1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-18 16:26:50 +00:00

Add ytdlp alias to execute yt-dlp with the URL copied to the clipboard

This commit is contained in:
Luna 2023-04-21 20:29:28 +02:00
parent 5673ee2e57
commit 2890c82be9

View file

@ -8,7 +8,6 @@ alias \
rm='rm -iv' \ rm='rm -iv' \
mv='mv -iv' \ mv='mv -iv' \
mkd="mkdir -pv" \ mkd="mkdir -pv" \
ytv="youtube-dl -f bestvideo" \
smpv="mpv --profile=svp --script-opts=socketPath=/tmp/mpvsocket " \ smpv="mpv --profile=svp --script-opts=socketPath=/tmp/mpvsocket " \
vim="nvim" \ vim="nvim" \
swap-ytmpv-profiles="sed -i 's/mpv-yt/mpv-yt-inactive/g' ~/.config/mpv/mpv.conf && sed -i 's/mpv-yt-inactive-inactive/mpv-yt/g' ~/.config/mpv/mpv.conf; grep -1 mpv-yt ~/.config/mpv/mpv.conf" \ swap-ytmpv-profiles="sed -i 's/mpv-yt/mpv-yt-inactive/g' ~/.config/mpv/mpv.conf && sed -i 's/mpv-yt-inactive-inactive/mpv-yt/g' ~/.config/mpv/mpv.conf; grep -1 mpv-yt ~/.config/mpv/mpv.conf" \
@ -26,3 +25,4 @@ alias \
sudo='doas' sudo='doas'
alias history='fc -l 0' alias history='fc -l 0'
alias ytdlp='yt-dlp `xclip -o`'