feat(gnome): Add automatic updates for Firefox GNOME theme and Thunderbird GNOME theme (If installed)

This commit is contained in:
Kyle Gospodnetich 2023-09-04 17:15:20 -07:00
parent a0c9f84c56
commit 074365a9e4
2 changed files with 19 additions and 0 deletions

View File

@ -115,6 +115,7 @@ Builds with the GNOME desktop environment are available in both desktop and deck
- Features optional Valve-inspired themes matching Vapor and VGUI2 from SteamOS.
- [Hanabi extension](https://github.com/jeffshee/gnome-ext-hanabi) included to offer similar features to Wallpaper Engine in KDE.
- Numerous optional extensions pre-installed, including [important user experience fixes](https://www.youtube.com/watch?v=nbCg9_YgKgM).
- Automatic updates for the [Firefox GNOME theme](https://github.com/rafaelmardojai/firefox-gnome-theme) and [Thunderbird GNOME theme](https://github.com/rafaelmardojai/thunderbird-gnome-theme). <sup><sub>(If installed)</sub></sup>
> [!IMPORTANT]
> **ISOs can be downloaded from our releases page [here](https://github.com/ublue-os/bazzite/releases), and a helpful install guide can be found [here](https://universal-blue.org/images/bazzite/installation/).**

View File

@ -0,0 +1,18 @@
#!/usr/bin/bash
shopt -s nullglob
# 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
cd "$firefox_gnome_theme"
git pull origin master
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
cd "$thunderbird_gnome_theme"
git pull origin master
fi
done