summaryrefslogtreecommitdiffstats
path: root/roles/obs/templates/music
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-12-02 08:23:11 -0500
committerSacha Chua <sacha@sachachua.com>2022-12-02 08:23:11 -0500
commit366d6aec267f543f9a7b928778a09b80852346f3 (patch)
treed53009db291fe6184ceb9e8c45a0b1e17b641996 /roles/obs/templates/music
parent98763823193eba26bd0cd8c15b2cad5c90954f54 (diff)
downloademacsconf-ansible-366d6aec267f543f9a7b928778a09b80852346f3.tar.xz
emacsconf-ansible-366d6aec267f543f9a7b928778a09b80852346f3.zip
update scripts
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