summaryrefslogblamecommitdiffstats
path: root/roles/obs/templates/music
blob: af282086803356d5baa429dd0b921baebafe6f43 (plain) (tree)
1
2
3
4
5




                                                                            
if screen -list | grep -q background; then
  echo "Already running in screen, attach with screen -x background"
else
  screen -S background /bin/bash -c "mpv ~/stream/background.wav --loop=yes"
fi