foodotfiles/secrets/env
Marko Korhonen 708f1a4fb1 Added password to mpd
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2019-11-02 08:45:18 +02:00

13 lines
652 B
Bash
Executable File

#!/bin/bash
export PASS_LIBREFM="$(pass entertainment/libre.fm | head -n 1)"
export PASS_MUSICBRAINZ="$(pass entertainment/musicbrainz.org | head -n 1)"
export PASS_LISTENBRAINZ="$(pass entertainment/musicbrainz.org | rg 'listenbrainz_token' | cut -d' ' -f2-)"
export PASS_MUSPY="$(pass entertainment/muspy.com | head -n 1)"
export PASS_ARIA2="$(pass linux/aria2 | head -n 1)"
export PASS_MPD="$(pass linux/mpd | head -n 1)"
export PASS_MPD_ADMIN="$(pass linux/mpd-admin | head -n 1)"
export ME_FULLNAME="$(pass me | head -n 1)"
export ME_ADDRESS="$(pass me | rg 'address' | cut -d' ' -f2-)"
export ME_PHONE="$(pass me | rg 'phone' | cut -d' ' -f2-)"