Easily enable older GTK themes to the GTK 4.0 environment, including Libadwaita interfaces.
GTK4ThemeAdapter is a convenient command-line tool designed to bridge the gap between older GTK themes such as Dracula and the modern GTK 4.0 UI components, such as the new Libadwaita. With this tool, users can ensure a consistent look across their GNOME applications, including native apps like Nautilus, GNOME Settings, and more.
- Automatically list themes from
~/.themesand/usr/share/themes. - Seamlessly apply older themes to GTK 4.0 UI components.
- Intuitive reset feature to revert to the default theme.
- User-friendly CLI with clear and concise prompts.
- Python 3.x
- Themes located in either
~/.themesor/usr/share/themes
chmod +x ./gtk4_theme_adapter.py
./gtk4_theme_adapter.pypython3 gtk4_theme_adapter.py--reset: Conveniently resets the theme to its default.
- Run the script.
- Choose from a list of available themes. Themes sourced from
~/.themesare labeled(User), whereas those from/usr/share/themesare labeled(System). - Input the number corresponding to your preferred theme.
- To exit without making changes, either hit
Enter, typeq, or select theExitoption.