dotfiles/scripts/download-selected-video.sh
inigoortega 753c07c665 All scripts are POSIXfied now (I think).
There might be bugs
2019-10-01 16:20:43 +02:00

7 lines
140 B
Bash

#!/usr/bin/env sh
url="$(xclip -o -selection clipboard)"
filename="$(dash $TSCRIPTS/download-video.sh "$url")"
printf "%b\n" "$filename"