summaryrefslogblamecommitdiffstats
path: root/roles/obs/templates/bbb
blob: c12702cec89c72096b6dd152a33d510d5eaa0cd4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
           
                                                        









                                          
                           
                                                                                                         

                                                    

                  
    
#!/bin/bash
# Open the Big Blue Button room using the backstage link
# {{ ansible_managed }}

# Kill the background music if playing
if screen -list | grep -q background; then
    screen -S background -X quit
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 5
xdotool search --class firefox windowactivate --sync
xdotool key Return
xdotool key F11
wait