bazzite/system_files/desktop/shared/usr/libexec/topgrade/third-party-css-loader-update
Kyle Gospodnetich d7c5e52c9a feat(deck): Add ujust commands to install various themes needed by ROG Ally & Legion Go.
feat: Add auto updating for some CSS Loader themes not on the official store with topgrade
2024-01-26 13:30:41 -08:00

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