diff --git a/src/Configuration/custom.yml b/src/Configuration/custom.yml new file mode 100644 index 0000000..fee9ab2 --- /dev/null +++ b/src/Configuration/custom.yml @@ -0,0 +1,7 @@ +--- +title: Custom +description: Custom lite configration +privilege: Admin +actions: [] +features: + - features\lite\dark-mode.yml \ No newline at end of file diff --git a/src/Configuration/features/lite/dark-mode.yml b/src/Configuration/features/lite/dark-mode.yml new file mode 100644 index 0000000..4e1359f --- /dev/null +++ b/src/Configuration/features/lite/dark-mode.yml @@ -0,0 +1,27 @@ +title: dark-mode +description: Sets dark mode +privilege: TrustedInstaller +actions: + - !writeStatus: { status: 'Enable dark mode' } + + - !registryValue: + path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize' + value: 'AppsUseLightTheme' + data: '0' + type: REG_DWORD + - !registryValue: + path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize' + value: 'SystemUsesLightTheme' + data: '0' + type: REG_DWORD + + - !registryValue: + path: 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes' + value: 'AppsUseLightTheme' + data: '0' + type: REG_DWORD + - !registryValue: + path: 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes' + value: 'SystemUsesLightTheme' + data: '0' + type: REG_DWORD