~alexdavid/dotfiles

2cd6582bf8fdd7882e370ebce1dffa536f0f6dd9 — Alex David 4 months ago cb2fb9e
Replace firefox with firefox-developer-edition

firefox-developer-edition allows installing unsigned local extensions
2 files changed, 3 insertions(+), 2 deletions(-)

M archlinux/PKGBUILD-desktop
M firefox/launch
M archlinux/PKGBUILD-desktop => archlinux/PKGBUILD-desktop +1 -1
@@ 33,7 33,7 @@ xorg-server-xwayland
# Applications
alacritty
calc
firefox
firefox-developer-edition
gtk-vnc
imv
mpv

M firefox/launch => firefox/launch +2 -1
@@ 7,7 7,7 @@ mkdir -p "$PROFILES_DIR"
function launchff {
  if [ -d "$1" ]; then
    export MOZ_ENABLE_WAYLAND=1
    exec firefox --profile "$1"
    firefox-developer-edition --profile "$1"
  else
    exec swaynag -m "No such profile '$1'"
  fi


@@ 32,6 32,7 @@ elif [ "$SELECTED_PROFILE" = "New Temporary Profile" ]; then
  PROFILE="$(mktemp -d /tmp/firefox.XXXXXXXXXX)"
  ~/.config/firefox/new-profile-gen/generate "$PROFILE" "$PROFILE"
  launchff "$PROFILE"
  rm -rf "$PROFILE"
elif [ -n "$SELECTED_PROFILE" ]; then
  launchff "$PROFILES_DIR/$SELECTED_PROFILE"
fi