1

Update themer to consider Firefox version

This commit is contained in:
Jessie Hildebrandt 2023-11-21 17:39:31 -05:00
parent 3e6f4133c6
commit e5a5ea6898

View File

@ -37,7 +37,14 @@ echo
echo "*** Installing Adwaita theme for Firefox... ***" echo "*** Installing Adwaita theme for Firefox... ***"
echo echo
curl -s -o- https://raw.githubusercontent.com/rafaelmardojai/firefox-gnome-theme/master/scripts/install-by-curl.sh | bash # Download and install gnome-firefox-theme
rm -rf /tmp/firefox-gnome-theme/
git clone https://github.com/rafaelmardojai/firefox-gnome-theme.git /tmp/firefox-gnome-theme/
(
cd /tmp/firefox-gnome-theme/
git checkout v$(firefox --version | sed -nr 's/[^0-9]*([0-9]*).*/\1/p') # Making sure to use the appropriate version
bash ./scripts/auto-install.sh
)
# Set user flags for theme # Set user flags for theme
function set_ff_flag () function set_ff_flag ()