Gradience icon indicating copy to clipboard operation
Gradience copied to clipboard

feat: Install adw-gtk3 on first run

Open daudix opened this issue 2 years ago • 1 comments

Feature description

Currently, Gradience makes user to manually install Flatpak and system adw-gtk3 theme, it would be much simpler for user if Gradience could do this by itself.

Since we now have flatpak-spawn permission, we can run flatpak install on host to install adw-gtk3 Flatpak, and fetch the latest adw-gtk3 release to .local/share/themes with symlink to .themes for compatibility with Fedora Flatpaks.

If we want to go even fancier, preferences could have adw-gtk3 updater that updates system theme, with auto-check for new release and sending notification to user with suggestion to update (maybe even auto-run could be implemented with new background portal, but notification when Gradience is open is more than enough)

Additional Context

No response

Did you read the Code of Conduct?

daudix avatar Aug 19 '23 18:08 daudix

We might add something like "base":"org.gtk.Gtk3theme.adw-gtk3" to the flatpak manifest. Refer to example usage of a base app.

lavafroth avatar Aug 20 '23 12:08 lavafroth