From: Samir Benmendil Date: Mon, 1 Feb 2016 22:40:36 +0000 (+0000) Subject: bin: add script to open vessel links with mpv X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/a460ccf2b20ede24502c5949ff131d53cc6ad1ea?ds=inline bin: add script to open vessel links with mpv --- diff --git a/bin/vessel b/bin/vessel new file mode 100755 index 0000000..7e9b46c --- /dev/null +++ b/bin/vessel @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +user=me@rmz.io +pass=$(pass vessel.com/$user) +[[ $? -eq 0 ]] && mpv --ytdl-raw-options=username="$user",password="[$pass]" "$@"