-
-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(deck): Add ujust commands to install various themes needed by RO…
…G Ally & Legion Go. feat: Add auto updating for some CSS Loader themes not on the official store with topgrade
- Loading branch information
Showing
5 changed files
with
79 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[commands] | ||
"Firefox GNOME Theme" = "/usr/libexec/topgrade/mozilla-gnome-theme-update" | ||
"Steam Adwaita Theme" = "/usr/libexec/topgrade/adwaita-for-steam-update" | ||
"Mozilla GNOME Themes" = "/usr/libexec/topgrade/mozilla-gnome-theme-update" | ||
"Third Party CSS Loader Themes" = "/usr/libexec/topgrade/third-party-css-loader-update" |
15 changes: 0 additions & 15 deletions
15
system_files/desktop/shared/usr/libexec/topgrade/adwaita-for-steam-update
This file was deleted.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
system_files/desktop/shared/usr/libexec/topgrade/third-party-css-loader-update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters