From 37307332dfbe99363ee68fb2f71c0d637f736d3e Mon Sep 17 00:00:00 2001 From: Siina Mashek Date: Wed, 14 Dec 2022 15:16:43 +0200 Subject: [PATCH] Adding listento --- common/listento | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 common/listento diff --git a/common/listento b/common/listento new file mode 100755 index 0000000..76e94be --- /dev/null +++ b/common/listento @@ -0,0 +1,13 @@ +#!/bin/sh +# Listenbrainz + DeaDBeeF (or others) via rescrobbled +if [[ $# -eq 0 ]]; then + player="deadbeef" +else + player="$1" +fi + +echo "player = $player" + +$HOME/.local/bin/rescrobbled & +$player +pkill rescrobbled