summaryrefslogtreecommitdiffstats
path: root/roles/obs
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-11-24 10:12:59 -0500
committerSacha Chua <sacha@sachachua.com>2022-11-24 10:12:59 -0500
commit1a07538253b49a1e12df144f2c005898d52be99f (patch)
treea158f4885ec1e3a7b1e6182c702745d23cd85a80 /roles/obs
parent1957b894290bcbee8767f6cd11d24927c21cdf9a (diff)
downloademacsconf-ansible-1a07538253b49a1e12df144f2c005898d52be99f.tar.xz
emacsconf-ansible-1a07538253b49a1e12df144f2c005898d52be99f.zip
restream, go back to old mount structure
Diffstat (limited to 'roles/obs')
-rwxr-xr-xroles/obs/templates/start-background-music5
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