Skip to content

Add -reload-theme CLI flag to re-apply the current theme file#860

Merged
dweymouth merged 2 commits intomainfrom
feat/reload-theme-cli
Feb 18, 2026
Merged

Add -reload-theme CLI flag to re-apply the current theme file#860
dweymouth merged 2 commits intomainfrom
feat/reload-theme-cli

Conversation

@dweymouth
Copy link
Copy Markdown
Owner

@dweymouth dweymouth commented Feb 18, 2026

Adds a -reload-theme CLI flag to re-read and apply the currently loaded theme file

Closes #817

dweymouth and others added 2 commits February 17, 2026 16:39
Sends a reload-theme IPC message to a running instance, causing it to
call fyne.CurrentApp().Settings().SetTheme(m.theme). Follows the same
callback pattern as -show (OnReactivate) and quit (OnExit).

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@dweymouth dweymouth changed the title Add -reload-theme CLI flag to re-apply theme via IPC Add -reload-theme CLI flag to re-apply the current theme file Feb 18, 2026
@dweymouth dweymouth merged commit e21908c into main Feb 18, 2026
11 checks passed
@dweymouth dweymouth deleted the feat/reload-theme-cli branch February 18, 2026 00:56
M0Rf30 pushed a commit to M0Rf30/supersonic that referenced this pull request Mar 9, 2026
…uth#860)

* Add -reload-theme CLI flag to re-apply theme via IPC

Sends a reload-theme IPC message to a running instance, causing it to
call fyne.CurrentApp().Settings().SetTheme(m.theme). Follows the same
callback pattern as -show (OnReactivate) and quit (OnExit).

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* actually re-read theme file

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
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.

Reload theme feature request.

1 participant