summaryrefslogtreecommitdiffstats
path: root/roles/obs/templates/music
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2023-10-25 09:34:56 -0400
committerSacha Chua <sacha@sachachua.com>2023-10-25 09:34:56 -0400
commitbb62418491b3799eb82b2cc8a0e6b41ce6e6d36e (patch)
tree76807be6c4490930cae53bfa140e1bf90362b4b8 /roles/obs/templates/music
parent74eea4257f85fae4192591a4725de4607b305dad (diff)
downloademacsconf-ansible-bb62418491b3799eb82b2cc8a0e6b41ce6e6d36e.tar.xz
emacsconf-ansible-bb62418491b3799eb82b2cc8a0e6b41ce6e6d36e.zip
start background music screen detached
Diffstat (limited to 'roles/obs/templates/music')
-rwxr-xr-xroles/obs/templates/music2
1 files changed, 1 insertions, 1 deletions
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