From 67f8c8aa2138a2e495059b7f2df18c86644d26c6 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Wed, 20 Mar 2024 11:27:14 -0400 Subject: [PATCH] Don't run firefox until update is complete --- fake_home/.bin/ffx.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fake_home/.bin/ffx.sh b/fake_home/.bin/ffx.sh index f651463..0804590 100755 --- a/fake_home/.bin/ffx.sh +++ b/fake_home/.bin/ffx.sh @@ -1,8 +1,7 @@ #!/bin/bash kill $(pgrep firefox) -gnome-terminal -e "$HOME/.bin/update-firefox.sh" -MOZ_ENABLE_WAYLAND=1 setsid $HOME/.bin/firefox-developer-edition/firefox-bin +gnome-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