diff --git a/README.md b/README.md index fb4da5f1..929c7b94 100644 --- a/README.md +++ b/README.md @@ -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). (If installed) > [!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/).** diff --git a/system_files/desktop/silverblue/etc/update.d/90-mozilla-gnome-themes.sh b/system_files/desktop/silverblue/etc/update.d/90-mozilla-gnome-themes.sh new file mode 100755 index 00000000..010a8763 --- /dev/null +++ b/system_files/desktop/silverblue/etc/update.d/90-mozilla-gnome-themes.sh @@ -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