diff options
author | Sacha Chua <sacha@sachachua.com> | 2023-10-25 09:34:56 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2023-10-25 09:34:56 -0400 |
commit | bb62418491b3799eb82b2cc8a0e6b41ce6e6d36e (patch) | |
tree | 76807be6c4490930cae53bfa140e1bf90362b4b8 | |
parent | 74eea4257f85fae4192591a4725de4607b305dad (diff) | |
download | emacsconf-ansible-bb62418491b3799eb82b2cc8a0e6b41ce6e6d36e.tar.xz emacsconf-ansible-bb62418491b3799eb82b2cc8a0e6b41ce6e6d36e.zip |
start background music screen detached
-rwxr-xr-x | roles/obs/templates/music | 2 |
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 |