chore: Add more information during theme updates

This commit is contained in:
Kyle Gospodnetich 2024-01-20 09:42:28 -08:00
parent 094e3a83e1
commit ce51510309
2 changed files with 12 additions and 0 deletions

View File

@ -1,9 +1,15 @@
#!/usr/bin/bash
shopt -s nullglob
echo "Looking for updates..."
if [ -d "$HOME/homebrew/themes/Adwaita-for-Steam" ]; then
cd "$HOME/homebrew/themes/Adwaita-for-Steam"
echo "Theme found, pulling latest with git."
git pull
echo "Update complete."
else
echo -e "\nNothing to do."
fi
exit 0

View File

@ -1,19 +1,25 @@
#!/usr/bin/bash
shopt -s nullglob
echo "Looking for updates..."
# Flatpak Firefox
for firefox_gnome_theme in "$HOME/.var/app/org.mozilla.firefox/.mozilla/firefox/"*".default"*"/chrome/firefox-gnome-theme/"; do
if [ -d "$firefox_gnome_theme" ]; then
echo "Firefox theme found, pulling latest with git"
cd "$firefox_gnome_theme"
git pull
echo "Update complete"
fi
done
# Flatpak Thunderbird
for thunderbird_gnome_theme in "$HOME/.var/app/org.mozilla.Thunderbird/.thunderbird/"*".default"*"/chrome/thunderbird-gnome-theme/"; do
if [ -d "$thunderbird_gnome_theme" ]; then
echo "Thunderbird theme found, pulling latest with git"
cd "$thunderbird_gnome_theme"
git pull
echo "Update complete"
fi
done