Toot

Written by TheEvilSkeleton on 2025-01-02 at 18:47

Introducing Refine, an app to tweak advanced and experimental settings in GNOME. It is an alternative to GNOME Tweaks, and is a pet project I'm currently working to experiment with PyGObject and dconf, while following the data-driven, object-oriented, and composition paradigms.

The entire codebase is made up of widgets that provide all the functionality needed to add an option. For example, instead of adding each option programmatically in Refine, the ultimate goal is to have it all done in the UI file.

For example, if we want to add an option to enable or disable middle click paste, all we need is the following code in the UI file:

title: _('Middle Click Paste');

schema-id: 'org.gnome.desktop.interface';

key: 'gtk-enable-primary-paste';

}

That's it. The RefineSwitchRow widget will do whatever it needs to do to ensure the option is available, grab the setting if it's available, and display it to the user. Many of these widgets provide extra functionality, such as a Reset button.

You can get Refine on Flathub: https://flathub.org/apps/page.tesk.Refine

Everything else (source code, screenshot, etc.) is in the project website: https://tesk.page/refine/, as well as the Flathub link.

[#]GNOME #Flatpak #Flathub #FOSS #OpenSource #GTK #Libadwaita

=> More informations about this toot | View the thread | More toots from TheEvilSkeleton@treehouse.systems

Mentions

Tags

=> View gnome tag | View flatpak tag | View flathub tag | View foss tag | View opensource tag | View gtk tag | View libadwaita tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113760249038760699
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
227.854653 milliseconds
Gemini-to-HTML Time
1.029798 milliseconds

This content has been proxied by September (3851b).