Skip to content

* WFM, force dark mode in windows11#1274

Open
evolighting wants to merge 2 commits intoraphamorim:mainfrom
evolighting:force_dark_windows
Open

* WFM, force dark mode in windows11#1274
evolighting wants to merge 2 commits intoraphamorim:mainfrom
evolighting:force_dark_windows

Conversation

@evolighting
Copy link
Copy Markdown

What I do:
1. add config, `decorations-theme-variant`, add windows attributes for it
2. search `preferred_theme` at windows impl, make it change according to `decorations-theme-variant`

config lile:

[window]
decorations-theme-variant = "Dark"

WFM, test like:
dark
light
None

    What I do:
    1. add config, `decorations-theme-variant`, add windows attributes for it
    2. search `preferred_theme` at windows impl, make it change according to `decorations-theme-variant`
@evolighting
Copy link
Copy Markdown
Author

build with this patch in rioterm 0.2.31, works on windows 11

@raphamorim
Copy link
Copy Markdown
Owner

Hey @evolighting thanks for the issue, I assume it works for other OS too, like macos right. at least at a quick glance of the pr

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