diff options
Diffstat (limited to '')
-rwxr-xr-x | roles/obs/templates/start-background-music | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/obs/templates/start-background-music b/roles/obs/templates/start-background-music new file mode 100755 index 0000000..af28208 --- /dev/null +++ b/roles/obs/templates/start-background-music @@ -0,0 +1,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 |