13 lines
212 B
Bash
Executable file
13 lines
212 B
Bash
Executable file
#!/bin/sh
|
|
# Listenbrainz + DeaDBeeF (or others) via rescrobbled
|
|
if [[ $# -eq 0 ]]; then
|
|
player="audacious"
|
|
else
|
|
player="$1"
|
|
fi
|
|
|
|
echo "player = $player"
|
|
|
|
$HOME/.local/bin/rescrobbled &
|
|
$player
|
|
pkill rescrobbled
|