@echo off
:: ============================================================
:: CheckDarkModeStatus.bat
::
:: Checks whether "Enable Dark Mode" is currently applied.
:: ============================================================

reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "AppsUseLightTheme" 2>nul

if %ERRORLEVEL% NEQ 0 (
    echo.
    echo 'AppsUseLightTheme' is not set (using the Windows default^).
)
pause