Added desktop theme to SETTINGS_EXPLORER_USER
This commit is contained in:
parent
9b64aa3939
commit
9c80c357d6
1 changed files with 21 additions and 8 deletions
|
|
@ -1,13 +1,19 @@
|
||||||
# Wizard Kit: Settings - Setup
|
'''Wizard Kit: Settings - Setup'''
|
||||||
|
# pylint: disable=bad-continuation,line-too-long
|
||||||
|
# vim: sts=2 sw=2 ts=2
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import winreg
|
try:
|
||||||
|
import winreg
|
||||||
|
HKU = winreg.HKEY_USERS
|
||||||
|
HKCR = winreg.HKEY_CLASSES_ROOT
|
||||||
|
HKCU = winreg.HKEY_CURRENT_USER
|
||||||
|
HKLM = winreg.HKEY_LOCAL_MACHINE
|
||||||
|
except ImportError:
|
||||||
|
if os.name != 'posix':
|
||||||
|
raise
|
||||||
|
|
||||||
# General
|
# General
|
||||||
HKU = winreg.HKEY_USERS
|
|
||||||
HKCR = winreg.HKEY_CLASSES_ROOT
|
|
||||||
HKCU = winreg.HKEY_CURRENT_USER
|
|
||||||
HKLM = winreg.HKEY_LOCAL_MACHINE
|
|
||||||
OTHER_RESULTS = {
|
OTHER_RESULTS = {
|
||||||
'Error': {
|
'Error': {
|
||||||
'CalledProcessError': 'Unknown Error',
|
'CalledProcessError': 'Unknown Error',
|
||||||
|
|
@ -126,6 +132,15 @@ SETTINGS_EXPLORER_USER = {
|
||||||
'{59031a47-3f72-44a7-89c5-5595fe6b30ee}': 0,
|
'{59031a47-3f72-44a7-89c5-5595fe6b30ee}': 0,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
# Desktop theme
|
||||||
|
r'Software\Microsoft\Windows\CurrentVersion\Themes\Personalize': {
|
||||||
|
'Invalid modes': ['Cur'],
|
||||||
|
'DWORD Items': {
|
||||||
|
# <= v1809 default
|
||||||
|
'AppsUseLightTheme': 1,
|
||||||
|
'SystemUsesLightTheme': 0,
|
||||||
|
},
|
||||||
|
},
|
||||||
# Disable features
|
# Disable features
|
||||||
r'Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager': {
|
r'Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager': {
|
||||||
'DWORD Items': {
|
'DWORD Items': {
|
||||||
|
|
@ -227,5 +242,3 @@ SETTINGS_WINDOWS_UPDATES = {
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
print("This file is not meant to be called directly.")
|
print("This file is not meant to be called directly.")
|
||||||
|
|
||||||
# vim: sts=2 sw=2 ts=2
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue