This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Persistent | |
| SetTitleMatchMode, 2 | |
| return | |
| #m:: | |
| ; Toggle "Windows colors" (light mode to dark mode or vice versa) | |
| RegRead, CurrentWindowsMode, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize, SystemUsesLightTheme | |
| If (CurrentWindowsMode = 1) | |
| { | |
| RegWrite, REG_DWORD, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize, SystemUsesLightTheme, 0 |