AutoDarkMode / Windows-Auto-Night-Mode

Automatically switches between the dark and light theme of Windows 10 and Windows 11
GNU General Public License v3.0
7.34k stars 261 forks source link

Add compatibility and integration to switch themes with Rectify11 theme features #817

Open ben401rs opened 8 months ago

ben401rs commented 8 months ago

Currently auto dark mode works half way, Windows own dark mode triggered by auto dark mode that also switch Rectify11 themes (both of these are system wide dark mode) are currently conflicting which resulted in buggy dark mode transition. Since Rectify is mostly community run batch tools, its more appropriate if instead Auto Dark Mode implements feature to automate and detect on per app basis to switching themes (if existed inside the app) and integrate it in the app, kinda like MicaForEveryone process flag for each process or apps

Im considering creating a script inside the app to make that a possibility but its currently its too advanced for me and sometimes its on per app basis on how dark mode sometimes work when switching themes or not

image

kaem-e commented 8 months ago

+1 to this, it would be really handy

Spiritreader commented 7 months ago

Hey!

At the moment I'm afraid this isn't possible. ADM functions as a theme switcher that triggers CThemeManager, which is a windows-owned component which we don't have control over.

Basically we're instructing windows to apply a fixed theme and let Windows handle the rest.

I'm not entirely sure how rectify11 functions, but maybe this could be realized in a dfferent way? If you can apply rectify11 options with shell commands, maybe you could use the adm script hook to change your windows back to how they were before.