diff options
author | Sacha Chua <sacha@sachachua.com> | 2023-10-25 09:35:22 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2023-10-25 09:35:22 -0400 |
commit | bb2097042864be47ba8a51eb6c6c22b9766d7a94 (patch) | |
tree | 87a857475d33ba45d4250076baf4e825e17e3099 /roles/obs/templates | |
parent | bb62418491b3799eb82b2cc8a0e6b41ce6e6d36e (diff) | |
download | emacsconf-ansible-bb2097042864be47ba8a51eb6c6c22b9766d7a94.tar.xz emacsconf-ansible-bb2097042864be47ba8a51eb6c6c22b9766d7a94.zip |
obs updates
Diffstat (limited to 'roles/obs/templates')
-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 |