summaryrefslogtreecommitdiffstats
path: root/roles/obs/templates/music
diff options
context:
space:
mode:
Diffstat (limited to 'roles/obs/templates/music')
-rwxr-xr-xroles/obs/templates/music5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/obs/templates/music b/roles/obs/templates/music
new file mode 100755
index 0000000..af28208
--- /dev/null
+++ b/roles/obs/templates/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