diff --git a/build_files/copr-repos.sh b/build_files/copr-repos.sh index dc59225d0ee..fd413f811cf 100755 --- a/build_files/copr-repos.sh +++ b/build_files/copr-repos.sh @@ -88,3 +88,6 @@ rm /etc/yum.repos.d/_copr_sentry-switcheroo-control_discrete.repo # Add Nerd Fonts curl -Lo /etc/yum.repos.d/_copr_che-nerd-fonts-"${FEDORA_MAJOR_VERSION}".repo https://copr.fedorainfracloud.org/coprs/che/nerd-fonts/repo/fedora-"${FEDORA_MAJOR_VERSION}"/che-nerd-fonts-fedora-"${FEDORA_MAJOR_VERSION}".repo + +# RSS changelog viewer +curl -Lo /etc/yum.repos.d/_copr_tulilirockz-juicerss-"${FEDORA_MAJOR_VERSION}".repo https://copr.fedorainfracloud.org/coprs/tulilirockz/juicerss/repo/fedora-"${FEDORA_MAJOR_VERSION}"/tulilirockz-juicerss-fedora-"${FEDORA_MAJOR_VERSION}".repo diff --git a/packages.json b/packages.json index a64b0977188..3ff9312f9f5 100644 --- a/packages.json +++ b/packages.json @@ -27,6 +27,7 @@ "input-leap", "input-remapper", "jetbrains-mono-fonts-all", + "juicerss", "libimobiledevice", "libxcrypt-compat", "libsss_autofs", diff --git a/system_files/shared/usr/share/applications/system-changelog.desktop b/system_files/shared/usr/share/applications/system-changelog.desktop new file mode 100644 index 00000000000..d0ad459c701 --- /dev/null +++ b/system_files/shared/usr/share/applications/system-changelog.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Changelog +Comment=See the operating system version changelog +Icon=ublue-changelog +Categories=ConsoleOnly;System; +Terminal=true +Exec=/usr/bin/ujust release-notes diff --git a/system_files/shared/usr/share/pixmaps/ublue-changelog.svg b/system_files/shared/usr/share/pixmaps/ublue-changelog.svg new file mode 100644 index 00000000000..f6539bf43e5 --- /dev/null +++ b/system_files/shared/usr/share/pixmaps/ublue-changelog.svg @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + diff --git a/system_files/shared/usr/share/ublue-os/changelog.config.toml b/system_files/shared/usr/share/ublue-os/changelog.config.toml new file mode 100644 index 00000000000..714af47f11e --- /dev/null +++ b/system_files/shared/usr/share/ublue-os/changelog.config.toml @@ -0,0 +1,8 @@ +nerd_fonts = true +list_format = "extended" + +[[feeds]] +name = "Bluefin and Aurora Updates" +url = "https://github.com/ublue-os/bluefin/releases.atom" +enabled = true + diff --git a/system_files/shared/usr/share/ublue-os/just/10-update.just b/system_files/shared/usr/share/ublue-os/just/10-update.just index 68b86dad067..08902b9ce03 100644 --- a/system_files/shared/usr/share/ublue-os/just/10-update.just +++ b/system_files/shared/usr/share/ublue-os/just/10-update.just @@ -40,3 +40,7 @@ alias changelog := changelogs # Show the changelog changelogs: rpm-ostree db diff --changelogs + +# Release notes in a TUI viewer +release-notes: + /usr/bin/juicerss --config=/usr/share/ublue-os/changelog.config.toml