dotfiles/scripts/dlvideompv

7 lines
191 B
Bash
Executable file

#!/usr/bin/env bash
notify-send "Downloading  $1"
title=$(yt-dlp --get-title $1)
alacritty -e yt-dlp -o '/home/chris/vids/%(title)s.%(ext)s' $1
mpv "/home/chris/vids/$filename" & disown