mirror of
https://github.com/Disassembler0/Win10-Initial-Setup-Script.git
synced 2026-04-23 03:00:50 -04:00
Add "Set Light Mode for System" - reimplements and closes #296 (thx @michalsieron)
This commit is contained in:
@@ -132,6 +132,7 @@ DisableShortcutInName # EnableShortcutInName
|
||||
SetVisualFXPerformance # SetVisualFXAppearance
|
||||
# EnableTitleBarColor # DisableTitleBarColor
|
||||
# SetAppsDarkMode # SetAppsLightMode
|
||||
# SetSystemLightMode # SetSystemDarkMode
|
||||
# AddENKeyboard # RemoveENKeyboard
|
||||
# EnableNumlock # DisableNumlock
|
||||
# DisableEnhPointerPrecision # EnableEnhPointerPrecision
|
||||
|
||||
12
Win10.psm1
12
Win10.psm1
@@ -2009,6 +2009,18 @@ Function SetAppsLightMode {
|
||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" -Name "AppsUseLightTheme" -Type DWord -Value 1
|
||||
}
|
||||
|
||||
# Set Light Mode for System - Applicable since 1903
|
||||
Function SetSystemLightMode {
|
||||
Write-Output "Setting Light Mode for System..."
|
||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" -Name "SystemUsesLightTheme" -Type DWord -Value 1
|
||||
}
|
||||
|
||||
# Set Dark Mode for System - Applicable since 1903
|
||||
Function SetSystemDarkMode {
|
||||
Write-Output "Setting Dark Mode for System..."
|
||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" -Name "SystemUsesLightTheme" -Type DWord -Value 0
|
||||
}
|
||||
|
||||
# Add secondary en-US keyboard
|
||||
Function AddENKeyboard {
|
||||
Write-Output "Adding secondary en-US keyboard..."
|
||||
|
||||
Reference in New Issue
Block a user