Skip to content

Gtk live update#1575

Open
SakibShahariar wants to merge 4 commits into
mylinuxforwork:mainfrom
SakibShahariar:gtk-live-update
Open

Gtk live update#1575
SakibShahariar wants to merge 4 commits into
mylinuxforwork:mainfrom
SakibShahariar:gtk-live-update

Conversation

@SakibShahariar
Copy link
Copy Markdown

Description

Adds a Python script that enables live GTK color updates, allowing applications to instantly reflect theme changes without requiring a restart.

Changes

  • Improved
  • Bug Fixes
  • Feature
  • Documentation
  • Other

Context

Currently, GTK applications require a restart to apply new theme colors, which disrupts workflow.
This change introduces a script-based solution that updates colors dynamically, making theme switching seamless and immediate.

How Has This Been Tested?

  • Tested on Arch Linux/Based Distro.
  • Tested on Fedora Linux/Based Distro.
  • Tested on openSuse.

Checklist

Please ensure your pull request meets the following requirements:

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • My changes do not introduce new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes.

Screenshots

Related Issues

Additional Notes

The solution integrates via a post-hook and works with GTK-based applications to apply color changes in real time. No restart is required.

@SakibShahariar
Copy link
Copy Markdown
Author

SakibShahariar commented May 13, 2026

Quick update: this feature has already been accepted upstream in the Matugen-theme repository.

So, you can pull it safely.

@mylinuxforwork
Copy link
Copy Markdown
Owner

Great. Thank you. I will try it out after the transition to lua.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants