dotfiles/scripts/tube.sh

8 lines
149 B
Bash

#!/usr/bin/env sh
[ "$1" = "" ] || url="$1"
[ "$url" = "" ] && notify-send "Tube.sh" "Nothing will be downloaded" && exit 0
mpv $MPV_FLAGS "$url"