mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Merge branch 'master' into reorg
This commit is contained in:
commit
f30ba8a02e
24 changed files with 1002 additions and 45 deletions
13
platforms/win/cmd/dark-mode.bat
Normal file
13
platforms/win/cmd/dark-mode.bat
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
@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
|
||||
echo <20><><EFBFBD>л<EFBFBD><D0BB><EFBFBD><EFBFBD><EFBFBD>ɫģʽ
|
||||
) else (
|
||||
reg add %regPath% /v AppsUseLightTheme /t REG_DWORD /d 1 /f >nul
|
||||
echo <20><><EFBFBD>л<EFBFBD><D0BB><EFBFBD>dzɫģʽ
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue