diff options
Diffstat (limited to '')
-rw-r--r-- | roles/obs/templates/bashrc | 3 | ||||
-rwxr-xr-x | roles/obs/templates/bbb | 5 |
2 files changed, 7 insertions, 1 deletions
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 |