Add scripts for installing firefox

This commit is contained in:
Manuel Thalmann 2023-04-07 20:03:22 +02:00
commit 31243775ed
4 changed files with 17 additions and 0 deletions
scripts/Common/Config/Firefox

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;