From 2dd3943b4ea3a22ba62918eb496b0ec8efa9a4d2 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Thu, 7 Mar 2024 09:19:21 -0500 Subject: [PATCH] Add ffx.sh and update_firefox.sh --- fake_home/.bin/ffx.sh | 8 ++++++++ fake_home/.bin/update-firefox.sh | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100755 fake_home/.bin/ffx.sh create mode 100755 fake_home/.bin/update-firefox.sh 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!"