Add scripts for installing firefox
This commit is contained in:
parent
92e600c49b
commit
31243775ed
4 changed files with 17 additions and 0 deletions
|
@ -42,6 +42,9 @@ yay --noconfirm -Syu \
|
|||
# rclone
|
||||
. "../Software/rclone/install.sh";
|
||||
|
||||
# Firefox
|
||||
. "../Software/Firefox/install.sh";
|
||||
|
||||
# Brave Browser
|
||||
yay --noconfirm -Syu \
|
||||
brave-bin \
|
||||
|
|
5
scripts/Arch/Software/Firefox/install.sh
Executable file
5
scripts/Arch/Software/Firefox/install.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||
yay --noconfirm -Syu firefox;
|
||||
. "../../../Common/Config/Firefox/install.sh";
|
||||
popd > /dev/null;
|
5
scripts/Common/Config/Firefox/firefox.sh
Executable file
5
scripts/Common/Config/Firefox/firefox.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
else
|
||||
export MOZ_USE_XINPUT2=1
|
||||
fi
|
4
scripts/Common/Config/Firefox/install.sh
Executable file
4
scripts/Common/Config/Firefox/install.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||
sudo cp ./firefox.sh /etc/profile.d/;
|
||||
popd > /dev/null;
|
Loading…
Reference in a new issue