dotfiles/scripts/tube.sh

8 lines
138 B
Bash
Raw Normal View History

#!/usr/bin/env sh
2019-07-11 16:09:05 +02:00
[ "$1" = "" ] || url="$1"
2019-07-11 16:09:05 +02:00
[ "$url" = "" ] && notify-send "Tube.sh" "Nothing will be downloaded" && exit 0
mpv "$url"