dotfiles/scripts/download-selected-video.sh

8 lines
123 B
Bash

#!/bin/sh
url="$(xclip -o -selection clipboard)"
filename="$(dash $TSCRIPTS/download-video.sh "$url")"
echo "$filename"