dotfiles/scripts/empv

8 lines
206 B
Fish
Executable file

#!/usr/bin/env fish
set arg "(chris/empv-yt-dlp \""$argv[1]"\")"
echo $arg
set title (yt-dlp --get-title $argv[1])
echo $title added
emacsclient -e $arg && notify-send $title" has been added to the queue"