1

Clean up themer

This commit is contained in:
Jessie Hildebrandt 2023-06-01 11:03:10 -04:00
parent 9c1856d953
commit 6aa4cf0474

View File

@ -7,12 +7,12 @@
# #
################################################################################ ################################################################################
# TODO: Tidy this up
######################################## ########################################
# Install adw-gtk3 for legacy GTK3 applications # Install adw-gtk3 for legacy GTK3 applications
echo "Installing adw-gtk3 theme for GTK3 applications..." echo
echo "*** Installing adw-gtk3 theme for GTK3 applications... ***"
echo
# Download and install adw-gtk3 # Download and install adw-gtk3
DOWNLOAD_URL=$(curl -s https://api.github.com/repos/lassekongo83/adw-gtk3/releases/latest | grep browser_download_url | cut -d '"' -f 4) DOWNLOAD_URL=$(curl -s https://api.github.com/repos/lassekongo83/adw-gtk3/releases/latest | grep browser_download_url | cut -d '"' -f 4)
@ -31,11 +31,13 @@ echo 'include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"' > ${HOME}/.gtkrc-2.0
######################################## ########################################
# Install Adwaita theme for Firefox # Install Adwaita theme for Firefox
echo "Installing Adwaita theme for Firefox..." echo
echo "*** Installing Adwaita theme for Firefox... ***"
echo
curl -s -o- https://raw.githubusercontent.com/rafaelmardojai/firefox-gnome-theme/master/scripts/install-by-curl.sh | bash curl -s -o- https://raw.githubusercontent.com/rafaelmardojai/firefox-gnome-theme/master/scripts/install-by-curl.sh | bash
# Set user flags for theme # Set user flags for theme
echo "Configuring Adwaita theme for Firefox..."
function set_ff_flag () function set_ff_flag ()
{ {
USER_JS_FILE=${HOME}/.mozilla/firefox/*.default-release/user.js USER_JS_FILE=${HOME}/.mozilla/firefox/*.default-release/user.js
@ -50,9 +52,13 @@ set_ff_flag gnomeTheme.hideUnifiedExtensions true
######################################## ########################################
# Install Adwaita theme for Steam # Install Adwaita theme for Steam
echo "Installing Adwaita theme for Steam..." echo
echo "*** Installing Adwaita theme for Steam... ***"
echo
cd /tmp/ cd /tmp/
rm -rf ./Adwaita-for-Steam/
git clone https://github.com/tkashkin/Adwaita-for-Steam git clone https://github.com/tkashkin/Adwaita-for-Steam
cd Adwaita-for-Steam cd ./Adwaita-for-Steam/
./install.py ./install.py --font-install
cd /tmp/ cd /tmp/