From bb2097042864be47ba8a51eb6c6c22b9766d7a94 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Wed, 25 Oct 2023 09:35:22 -0400 Subject: obs updates --- roles/obs/templates/bashrc | 3 +++ roles/obs/templates/bbb | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'roles/obs/templates') diff --git a/roles/obs/templates/bashrc b/roles/obs/templates/bashrc index 16a07f0..7e81001 100644 --- a/roles/obs/templates/bashrc +++ b/roles/obs/templates/bashrc @@ -124,3 +124,6 @@ export DISPLAY=${DISPLAY:-:{{ item.vnc_id }}} if [ "x$DISP" != "x" ]; then export DISPLAY={{ item.vnc_id }} fi + +export OBS_PORT={{ item.obs_websocket_port }} +export OBS_PASSWORD={{ obs_websocket_password }} diff --git a/roles/obs/templates/bbb b/roles/obs/templates/bbb index abe1da1..c12702c 100755 --- a/roles/obs/templates/bbb +++ b/roles/obs/templates/bbb @@ -10,7 +10,10 @@ fi # Update the overlay SLUG=$1 overlay $SLUG +killall -s TERM firefox-esr firefox https://media.emacsconf.org/{{ emacsconf_year }}/backstage/assets/redirects/open/bbb-$SLUG.html & -sleep 2 +sleep 5 +xdotool search --class firefox windowactivate --sync xdotool key Return xdotool key F11 +wait -- cgit v1.2.3