From 6aa4cf047473df9644279af67d0439d37c249e7b Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Thu, 1 Jun 2023 11:03:10 -0400 Subject: [PATCH] Clean up themer --- scripts/themer | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/scripts/themer b/scripts/themer index f122ac8..8c2a2b2 100755 --- a/scripts/themer +++ b/scripts/themer @@ -7,12 +7,12 @@ # ################################################################################ -# TODO: Tidy this up - ######################################## # 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_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 -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 # Set user flags for theme -echo "Configuring Adwaita theme for Firefox..." function set_ff_flag () { 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 -echo "Installing Adwaita theme for Steam..." +echo +echo "*** Installing Adwaita theme for Steam... ***" +echo + cd /tmp/ +rm -rf ./Adwaita-for-Steam/ git clone https://github.com/tkashkin/Adwaita-for-Steam -cd Adwaita-for-Steam -./install.py +cd ./Adwaita-for-Steam/ +./install.py --font-install cd /tmp/