diff --git a/fake_home/.bin/ffx.sh b/fake_home/.bin/ffx.sh new file mode 100755 index 0000000..85977fd --- /dev/null +++ b/fake_home/.bin/ffx.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +kill $(pgrep firefox) +xfce4-terminal -e "$HOME/.bin/update-firefox.sh" +MOZ_ENABLE_WAYLAND=1 setsid $HOME/.bin/firefox-developer-edition/firefox-bin +test -f "$HOME/.aws.exp" && bash -c "sleep 10; $HOME/.aws.exp" &> "$HOME/.aws.exp.log" + +wait diff --git a/fake_home/.bin/update-firefox.sh b/fake_home/.bin/update-firefox.sh new file mode 100755 index 0000000..918fa86 --- /dev/null +++ b/fake_home/.bin/update-firefox.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +wget -O ff.tar.bz2 'https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64&lang=en-US' +tar -xvf ff.tar.bz2 -C "$HOME/.bin/" +rm -rf "$HOME/.bin/firefox-developer-edition/" +mv "$HOME/.bin/firefox" "$HOME/.bin/firefox-developer-edition" +rm ff.tar.bz2 +echo "Install complete!"