From bb62418491b3799eb82b2cc8a0e6b41ce6e6d36e Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Wed, 25 Oct 2023 09:34:56 -0400 Subject: start background music screen detached --- roles/obs/templates/music | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/obs/templates/music') diff --git a/roles/obs/templates/music b/roles/obs/templates/music index af28208..29c5ddb 100755 --- a/roles/obs/templates/music +++ b/roles/obs/templates/music @@ -1,5 +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" + screen -dmS background /bin/bash -c "mpv ~/stream/background.wav --loop=yes" fi -- cgit v1.2.3