mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
chezmoi: windows migration dir
This commit is contained in:
parent
52b70819bf
commit
c24adf35d4
51 changed files with 3403 additions and 3840 deletions
11
scripts/dark-mode.bat
Normal file
11
scripts/dark-mode.bat
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
@REM Not working
|
||||
@REM encoding: GBK
|
||||
@echo off
|
||||
set regPath="HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize"
|
||||
for /f "usebackq tokens=2*" %%a in (`reg query %regPath% /v AppsUseLightTheme ^| find "REG_DWORD"`) do set currentMode=%%b
|
||||
|
||||
if "%currentMode%"=="0x1" (
|
||||
reg add %regPath% /v AppsUseLightTheme /t REG_DWORD /d 0 /f >nul
|
||||
) else (
|
||||
reg add %regPath% /v AppsUseLightTheme /t REG_DWORD /d 1 /f >nul
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue