Quick-Linux-Setup/settings/librewolf.sh

11 lines
646 B
Bash
Raw Normal View History

2024-12-13 14:37:35 -05:00
# Does the LibreWolf directory exist?
if [ -d "~/.var/app/io.gitlab.librewolf-community/.librewolf/*.default-default" ]; then
echo "The LibreWolf directory does exist. This means you haven't opened LibreWolf yet."
echo "Open LibreWolf so the directory can be generated, then close it. Run this script again."
fi
# Backup original prefs file
cp ~/.var/app/io.gitlab.librewolf-community/.librewolf/*.default-default/prefs.js ~/.var/app/io.gitlab.librewolf-community/.librewolf/*.default-default/prefs-default.js
# Apply custom prefs file
cp ./configs/librewolf.js ~/.var/app/io.gitlab.librewolf-community/.librewolf/*.default-default/prefs.js