Add scripts for installing firefox

This commit is contained in:
Manuel Thalmann 2023-04-07 20:03:22 +02:00
parent 31a0857b62
commit d28ab2de5e
4 changed files with 17 additions and 0 deletions

View file

@ -42,6 +42,9 @@ yay --noconfirm -Syu \
# rclone
. "../Software/rclone/install.sh";
# Firefox
. "../Software/Firefox/install.sh";
# Brave Browser
yay --noconfirm -Syu \
brave-bin \

View file

@ -0,0 +1,5 @@
#!/bin/bash
pushd "${BASH_SOURCE%/*}" > /dev/null;
yay --noconfirm -Syu firefox;
. "../../../Common/Config/Firefox/install.sh";
popd > /dev/null;

View file

@ -0,0 +1,5 @@
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
export MOZ_ENABLE_WAYLAND=1
else
export MOZ_USE_XINPUT2=1
fi

View file

@ -0,0 +1,4 @@
#!/bin/bash
pushd "${BASH_SOURCE%/*}" > /dev/null;
sudo cp ./firefox.sh /etc/profile.d/;
popd > /dev/null;