mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-04-01 22:20:57 +00:00
feat: Add auto updating for some CSS Loader themes not on the official store with topgrade
47 lines
1.1 KiB
Bash
Executable File
47 lines
1.1 KiB
Bash
Executable File
#!/usr/bin/bash
|
|
shopt -s nullglob
|
|
|
|
echo "Looking for updates..."
|
|
|
|
# Adwaita for Steam
|
|
if [ -d "$HOME/homebrew/themes/Adwaita-for-Steam/.git" ]; then
|
|
cd "$HOME/homebrew/themes/Adwaita-for-Steam"
|
|
echo "Adwaita for Steam theme found, pulling latest with git."
|
|
git pull
|
|
echo "Update complete."
|
|
else
|
|
echo -e "\nNothing to do."
|
|
fi
|
|
|
|
# ROG Ally Theme
|
|
if [ -d "$HOME/homebrew/themes/SBP-ROG-Ally/.git" ]; then
|
|
cd "$HOME/homebrew/themes/SBP-ROG-Ally"
|
|
echo "SBP-ROG-Ally theme found, pulling latest with git."
|
|
git pull
|
|
echo "Update complete."
|
|
else
|
|
echo -e "\nNothing to do."
|
|
fi
|
|
|
|
# Legion GO Theme
|
|
if [ -d "$HOME/homebrew/themes/SBP-Legion-Go-Theme/.git" ]; then
|
|
cd "$HOME/homebrew/themes/SBP-Legion-Go-Theme"
|
|
echo "SBP-Legion-Go-Theme theme found, pulling latest with git."
|
|
git pull
|
|
echo "Update complete."
|
|
else
|
|
echo -e "\nNothing to do."
|
|
fi
|
|
|
|
# HHD Theme
|
|
if [ -d "$HOME/homebrew/themes/PS5-to-Xbox-glyphs/.git" ]; then
|
|
cd "$HOME/homebrew/themes/PS5-to-Xbox-glyphs"
|
|
echo "PS5 to Xbox Glyphs theme found, pulling latest with git."
|
|
git pull
|
|
echo "Update complete."
|
|
else
|
|
echo -e "\nNothing to do."
|
|
fi
|
|
|
|
exit 0
|