mirror of
https://github.com/W4RH4WK/Debloat-Windows-10.git
synced 2024-11-17 15:25:37 +00:00
15 lines
526 B
PowerShell
15 lines
526 B
PowerShell
# Description
|
|
# This script will set registry keys so Applications using the Appx framework
|
|
# will use the dark theme instead of the default light one.
|
|
|
|
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\reg-helper.psm1
|
|
|
|
echo "Enabling dark theme"
|
|
Import-Registry(@"
|
|
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize]
|
|
"AppsUseLightTheme"=dword:00000000
|
|
|
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize]
|
|
"AppsUseLightTheme"=dword:00000000
|
|
"@)
|