Add dark-mode
This commit is contained in:
parent
43ba45eeac
commit
435b66a51b
7
src/Configuration/custom.yml
Normal file
7
src/Configuration/custom.yml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
title: Custom
|
||||
description: Custom lite configration
|
||||
privilege: Admin
|
||||
actions: []
|
||||
features:
|
||||
- features\lite\dark-mode.yml
|
27
src/Configuration/features/lite/dark-mode.yml
Normal file
27
src/Configuration/features/lite/dark-mode.yml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user