blob: 29c5ddbfa0208fc326768675f82a7ee1a577f1c7 (
plain) (
blame)
1
2
3
4
5
|
if screen -list | grep -q background; then
echo "Already running in screen, attach with screen -x background"
else
screen -dmS background /bin/bash -c "mpv ~/stream/background.wav --loop=yes"
fi
|