Обратите внимание! На момент написания настоящей статьи в ОС Windows 11 отсутствует возможность автоматической смены темы, если под этим подразумевается именно переход со светлого оформления интерфейса на темное и/или обратно. Однако решить данную задачу можно с помощью сторонних приложений, что мы и рассмотрим далее.
Вариант 1: Смена темы
Оптимальным на сегодняшний день способом автоматической смены темы будет использование приложения от сторонних разработчиков Auto Dark Mode. С его помощью можно сделать так, чтобы оформление переключалось со светлого на темное и обратно по собственноручно заданному расписанию или от заката до рассвета. Также имеется множество других полезных функций, заслуживающих отдельного внимания.
- Запустите «Командную строку» от имени администратора. Проще всего это сделать через поиск по системе, но есть и другие способы.
Читайте также: Как запустить «Командную строку» от имени администратора в Виндовс 11
- Введите указанную ниже команду и нажмите «Enter» для ее выполнения.
winget install --id Armin2208.WindowsAutoNightMode
Будет начато скачивание Auto Dark Mode из репозитория.
- Подтвердите свое согласие на инсталляцию. Для этого в консоли необходимо ввести букву
Y
и нажать «Enter». - Ожидайте,
пока будет выполнена установка.
Она протекает в несколько этапов,
после чего в «Командной строке» появится соответствующее уведомление и ее можно будет закрыть.
- Откройте окно поиска на панели задач, введите запрос «Auto Dark Mode» и запустите только что установленное приложение.
- Находясь во вкладке «Время», которая будет открыта по умолчанию, выберите то, как будет меняться тема:
После того как вы внесете желаемые изменения и сохраните их, смена тем оформления со светлой на темную будет происходить автоматически исходя из заданного расписания или региональных особенностей.
- Далее кратко рассмотрим дополнительные возможности Auto Dark Mode.
Так, во вкладке «Смена режимов» можно задать определенные исключения и назначить сочетания клавиш для принудительного переключения тем.
Во вкладке «Приложения» определяется то, как заданные на 6 шаге текущей инструкции параметры будут применяться отдельно к операционной системе и приложениям —
как первая, так и вторые, могут «окрашиваться» исходя из настроек Auto Dark Mode, всегда оставаться белыми или темными либо же в принципе не реагировать на эти изменения.
Во вкладке «Персонализация» вы можете выбрать и/или настроить свои обои и темы,
а по сути, — задать предпочтительный вариант оформления в «Параметрах» ОС Windows 11, по необходимости установив дополнительные решения из Microsoft Store, и затем сделать так, чтобы Auto Dark Mode работало именно с ними.
- Отдельным пунктом отметим возможность установки браузерного расширения «Dark Mode», доступного во вкладке «Приложения».
Оно представлено в версиях для Google Chrome, Mozilla Firefox и Microsoft Edge,
и может быть установлено из соответствующего фирменного магазина.
После того как вы это сделаете,
сайты в браузере окрасятся в темный цвет,
но предпочтительный вариант оформления можно настраивать вручную в каждом отдельном случае.
Обратите внимание! Абсолютное большинство приложений от сторонних разработчиков, предоставляющих возможность смены темы оформления, по умолчанию будут применять именно тот вариант, который установлен в операционной системе. Однако в некоторых из них (например, Telegram) данная опция является независимой и задается отдельно.
Вариант 2: Смена обоев
Если же под сменой темы оформления ОС Виндовс 11 вы подразумеваете исключительно рабочий стол, то есть переключение обоев на них по предварительно заданному расписанию, придерживайтесь следующего алгоритма:
Примечание: Прежде чем приступить к выполнению дальнейшей инструкции желательно подготовить фоновые изображения, которые будут использоваться в качестве слайд-шоу на рабочем столе, и поместить их в отдельную папку на диске ПК.
- Откройте «Параметры» операционной системы. Для этого можете воспользоваться меню «Пуск» или горячими клавишами «Win+I».
- На расположенной слева панели перейдите во вкладку «Персонализация», после чего справа разверните подраздел «Фон».
- В выпадающем списке напротив опции «Персонализируйте фон» выберите пункт «Слайд-шоу».
- Далее нажмите на кнопку «Обзор»
перейдите к расположению папки с заранее подготовленными изображениями обоев в открывшемся «Проводнике», выделите ее и нажмите «Открыть».
- Определите временной интервал, по истечении которого требуется менять установленные фоновые изображения,
по необходимости активируйте перемешивание их порядка, а также то, как будет масштабироваться их размер.
Вместо собственных обоев рабочего стола можно использовать доступные в Магазине приложений Майкрософт темы оформления, обычно содержащие наборы фонов. Для этого:
- В «Параметрах» операционной системы перейдите во вкладку «Персонализация», а из нее – к подразделу «Темы».
- Нажмите на кнопку «Обзор тем», расположенную напротив пункта «Найти другие темы в Microsoft Store».
- Ознакомьтесь со списком доступных вариантов оформления, открывая для этого их страницы в Магазине
и просматривая блок «Снимки экрана».
- Определившись с выбором темы, нажмите на кнопку «Получить»
и ожидайте,
пока будет выполнено скачивание и установка,
после чего вы сможете ее «Открыть».
- На деле же после нажатия указанной выше кнопки будет открыт раздел с доступными темами в системных «Параметрах». Кликните по той из них, которую хотите применить в качестве основной. Внесенные изменения вступят в силу практически мгновенно, и в зависимости от особенностей темы оформление интерфейса может смениться на темное или светлое.
- Нажмите на расположенную выше кнопку «Фон» и повторите действия из последнего пункта предыдущей инструкции в данной части статьи,
то есть определите то, как часто будут меняться доступные в наборе фоновые изображения, требуется ли их перемешать, и как следует масштабировать их размер.
Обратите внимание! Помимо статичных обоев, которые можно установить в качестве слайд-шоу и задать временной интервал для их автоматической смены, в Windows 11 имеется возможность установки на рабочий стол живых обоев, о чем мы ранее рассказывали в отдельной статье.
Подробнее: Установка живых обоев в Виндовс 11
Наша группа в TelegramПолезные советы и помощь
Как запланировать переключение на темную тему Windows 11 ночью без дополнительного ПО?
В операционной системе Windows 11, как и в Windows 10 имеется возможность включения темного режима, но нет никакой настройки, которая автоматически включает этот режим ночью, а в дневное время обратно переключает на светлый режим. Это какое то упущение со стороны Microsoft, но хорошая новость в том, что есть способ исправить эту проблему без установки дополнительного программного обеспечения.
Настройка для тёмного режима
Для настройки переключения режимов мы будем использовать встроенное приложение Windows 11 «Планировщик заданий», в котором необходимо будет создать отдельные задачи для темного и светлого режима.
Сначала создадим задачу для тёмного режима, для этого открываем планировщик заданий из меню «Пуск», выполнив поиск приложения.
В окне «Планировщик заданий» на верхней панели нажимаем «Действие», а во всплывающем контекстном меню выбираем пункт «Создать задачу…».
В окне «Создание задачи» во вкладке «Общие» в поле «Имя» задаем имя задачи. Затем в разделе «Параметры безопасности» выбираем пункт «Выполнять для всех пользователей» и отмечаем галочкой «Не сохранять пароль. Будут доступны ресурсы только локального компьютера.».
Далее переходим во вкладку «Триггеры» и нажимаем кнопку «Создать…».
Появиться окно «Создание триггера», в котором выбираем пункт «Ежедневно» и устанавливаем время, когда будет включаться тёмный режим. Сохраняем настройку, нажав на кнопку «Ок».
Продолжаем настройку задачи. Переходим во вкладку «Действия» и нажимаем кнопку «Создать…».
В окне «Создание действия» в разделе «Параметры» в поле «Программа или сценарий» указываем значение «reg», а в поле «Добавить аргументы (необязательно)» указываем значение:
add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppsUseLightTheme /t REG_DWORD /d 0 /f
Для сохранения параметров нажимаем кнопку «Ок».
Таким же образом создаем еще одно действие со значением:
add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 1 /f
Во вкладке «Действия» в итоге мы должны увидеть два действия.
Далее переходим во вкладку «Условия» и в разделе «Питание» убираем галочку «Запускать только при питании от электросети».
Переходим в финальную вкладку «Параметры», в которой отмечаем галочки «Немедленно запускать задачу, если пропущен плановый запуск» и «При сбое выполнения перезапускать через», после этого нажимаем кнопку «ОК» для создания задачи.
Теперь для запуска задачи «Тёмный режим», щелкаем по ней правой кнопкой мыши и выбираем пункт «Выполнить» в контекстном меню.
Теперь, каждый раз при наступлении девяти часов вечера у нас будет включаться темный режим.
Осталось настроить задачу для переключения на светлый режим.
Настройка для светлого режима
Выполняем аналогичные действия как и для тёмного режима, создаем задачу, указываем имя, редактируем раздел «Параметры безопасности».
Указываем время переключения на светлый режим, например, 9:00 утра.
Так же создаем два действия со значениями:
add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppsUseLightTheme /t REG_DWORD /d 1 /f
и
add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 1 /f
В поле «Программы или сценарий» указываем значение «reg».
Как и с тёмными режимом, во вкладке «Действия» должно отображаться два действия. Также аналогично предыдущим шагам настраиваем вкладки «Условия» и «Параметры«, после чего нажимаем кнопку «ОК«.
Запускаем задачу «Светлый режим«.
На этом все настройки закончены и задачи должны работать.
Как удалить запланированные задачи
Если требуется отключить автоматизацию смены режимов, заходим в приложение «Планировщик заданий» и отключаем и удаляем каждую из задач.
Ну вот и все, пока это лучшее решение в настоящий момент. Компания Microsoft, к сожалению, не позаботилась упростить данную возможность в одной настройке, как это реализовано, например, на ОС Android. Как вы увидели в данной статье, возможность, конечно, есть, просто она не легкодоступна.
Windows 11 allows you to use both light and dark modes to improve overall screen experience and reduce eye strain. Though enabling dark mode in Windows 11 is an easy task, it will be applied throughout the day which does not make any sense. It will be annoying to look at the dark black screen during bright afternoon time. Unfortunately, you need to manually toggle light and dark modes whenever needed as there are no options for automatic scheduling. In this article, we will explain alternate options available for automatically scheduling dark and light modes in Windows 11.
If you are aware of macOS, it offers an “Auto” appearance option. This helps to automatically change the mode in Mac based on the sunrise and set times. You can either use a third-party app to do the similar stuff in Windows or manually schedule a task with Task Scheduler.
1. Install Auto Dark Mode X
Auto Dark Mode X is a free application available on GitHub which automatically switches between dark and light modes in Windows 11. This app configures modes based on your geographical coordinates. Go to the official GitHub website and download the executable file of Auto Dark Mode X.
- Open the downloaded file and then select “Install for me only (recommended)” button. Follow the instructions and install Auto Dark Mode X app like any other app in your system.
The app has different sections as you can see in the sidebar. Let’s go through each section to show how you can customize.
Customizing the Mode Timing
Go to “Time” tab where you can set the timer for switching light and dark modes.
- Disabled – disable the mode switching.
- Set custom hours – select this option to set custom start timing to automatically start light or dark mode.
- From sunset to sunrise – as mentioned this is an ideal option to switch the modes based on the sunset/sunrise times for your location. The app will automatically get the location data from your system and use it here. If required, you can also set offset timing in minutes here.
- From sunset to sunrise (geographic coordinates) – this is a same option as above with a difference that you need to manually provide the longitude and the latitude of your location. If you do not know the coordinates, click “Find geo coordinates for your location” link to open a website where you can type the city and find the details. You need to enter the found coordinates and then click “Apply Coordinates” button.
- Follow Windows night light – this the last option which will follow the system’s night light mode timing. Click “Open night light settings” button to open Windows Settings and turn on “Schedule night light” option. You can either choose sunset to sunrise time or setup custom hours.
Setting Switching Conditions
As mentioned, sometimes it will be annoying to use light or dark mode as per the schedule. Go to “Switch Modes” section where you get different options including Conditions, Battery power devices, and Hotkeys.
- Conditions – enable these options to stop switching modes while playing games or when the system is busy. You can also get a notification before the theme switch.
- Battery powered devices – choose whether you want to only enable dark mode when the device is not plugged in.
- Hotkeys – enable this option and setup hotkeys for forcing light or dark mode. Using the set shortcut keys, you can overrule the default setting and change the mode when you need.
Other App Settings
Under the “Apps” section, you can set the option for using dark and light mode for the apps. Finally, under “Personalization” section you can setup a wallpaper or custom theme.
The easy way to use the app is to enable sunset to sunrise time and use hotkeys to force toggle the modes when you need.
2. Use Task Scheduler
Using the Task Scheduler is another option to schedule dark and light mode in Windows 11. This is a built-in Windows app for automating tasks on a fixed schedule. This is a lengthy process and you need to create two tasks one for light and another for dark mode.
Schedule Task for Dark Mode
- First, open the Task Scheduler app using Windows Search from Taskbar.
- Go to “Action” menu and select “Create Task…” option.
- Under “General” section, give a name for your task something like “switch_dark_theme”. Select “Run only when the user is logged in or not” and tick the “Do not store password” option.
- Go to the “Triggers” tab and click the “New” button.
- Select “On a schedule” for beginning the task and select “Daily” option. Set the time from when you want to start the dark mode and click “OK”. Also, make the “Recur every” option as 1 day so that the task will repeat every day.
- Next, select the “Actions” tab and then click on the “New” option. Type “reg” in the “Program/script” option and then type the following in “Add arguments” option and press OK.
add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppsUseLightTheme /t REG_DWORD /d 0 /f
- Repeat the step and but this time add the following command:
add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 1 /f
- It should look like below in the app.
- Go to “Settings” tab and tick the items as shown in the below picture:
- Go to “Conditions” tab and uncheck the “Start the task only if the computer is on AC power” and then click OK.
- You will find the newly created task name is listed under “Task Scheduler library” and right-click on it, then select “Run” to start the task.
Schedule Task for Light Mode
For scheduling a light mode task, you need to repeat the same above steps with little bit of changes.
- Go to “Actions > Create task” and name it “switch_light_mode”. Select the same settings as before for this task also.
- Now go to the “Triggers” tab, click on “New” and set a different time schedule. Make sure this is not overlapping with dark mode task.
- Now open the “Actions” tab and click on the “New” button. This time you need to add different Arguments than before but for the same Program/Script “Reg”. The first one is:
add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppsUseLightTheme /t REG_DWORD /d 1 /f and then click on OK.
And the second one is:
add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 1 /f and click on OK.
- Repeat the same steps for the “Settings” and “Conditions” tabs. Then find the newly created task and click on “Run”.
Final Words
These are the two popular and easy methods that you can use to schedule dark and light mode in Windows 11. As you can see, Auto Dark Mode X is a more user-friendly and easy method to schedule and switch the modes. However, if you do not want to install a third-party app, then you can follow the above instructions to setup tasks using Task Scheduler app.
Quick Links
-
How to Change the Scheduled Times
-
How to Remove the Scheduled Tasks
Windows 11 has a nice Dark Mode, but just like Windows 10, it can’t be scheduled to turn on automatically at night. Thankfully, there is a way to fix this without downloading any extra software.
This has always been a strange omission in Windows 10 and 11. The Night Light feature, which is also intended to make the screen easier on your eyes, has this ability. For whatever reason, Microsoft doesn’t include it for Dark and Light Modes. Let’s fix that.
Schedule Dark Mode
We’ll be using a built-in Windows app called «Task Scheduler» to automate when Dark Mode turns on. Unfortunately, we’ll need to create separate tasks for Dark and Light Mode, but the process will be the same for both.
First, open Task Scheduler from the Start Menu by searching for «Task Scheduler.»
In the top bar, click Action > Create Task.
Give the task a name such as «switch_dark_theme» and select «Run only when user is logged on» and «Do not store password.»
Now switch to the «Triggers» tab and click the «New» button.
Select «Daily» from the sidebar. Now we can enter a time for when you want Dark Mode to be enabled. Make sure the «Recur Every» option is set to «1 days» and click «OK.»
Next, switch to the «Actions» tab and click the «New» button. We’ll be creating two Actions, one for apps theme and one for the system theme.
For the Actions, we want «Start a Program.» Then, paste the following lines into the «Program/Script» and «Add Arguments» boxes and click «OK.»
Program/Script: reg
Add Arguments:
add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppsUseLightTheme /t REG_DWORD /d 0 /f
Repeat the same step again to create a second action, this time using the line below for the «Add Arguments» box:
add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 0 /f
(The first action sets your apps to use a dark theme by toggling «AppsUseLightTheme». The second task sets the operating system—like the taskbar and other elements—to use a dark theme by toggling «SystemUsesLightTheme».)
Go to the «Settings» tab.» Select «Run task as soon as possible after a scheduled start is missed» option and check «If the task fails, restart every option» and set it to 1 minute and 3 restart attempts.
Lastly, go to the «Conditions» tab and unselect the «Start the task only if the computer is on AC power» option. This makes sure the task runs even if you’re using a laptop on battery power. Click «OK.»
The task will now be listed in the «Task Scheduler Library» folder. To try it out right now, you can right-click it and select «Run.»
Schedule Light Mode
All we’ve done so far is scheduled when Dark Mode turns on, but that’s not very useful if it never turns off. We also need to schedule when Light Mode turns on, which is the exact same process.
To schedule Light Mode, you can follow the same steps as above. However, there are a few things you’ll need to do differently.
First, give the task a different name, such as «switch_light_theme.»
Of course, you’ll also want to choose a different time for Light Mode to be enabled. Again, make sure the «Recur every» option is set to «1 days.»
The most important thing for the Light Mode task is to use the correct argument for each of the Actions. After typing «
reg
» into the Program/Script Box, copy and paste the following line into the «Add Arguments» box.
add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppsUseLightTheme /t REG_DWORD /d 1 /f
And then for the second Action, you’ll need to use the following line for the «Add Arguments» box.
add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 1 /f
(As before, first action sets your apps to use a light theme by toggling «AppsUseLightTheme». The second task sets the operating system—like the taskbar and other elements—to use a light theme by toggling «SystemUsesLightTheme».)
The rest of the process is the same as Dark Mode, so repeat the same steps as above.
How to Change the Scheduled Times
Since these are static times, you may want to adjust them at different times of the year. To do that, double-click the tasks in the «Task Scheduler Library» folder to open the Properties window. Go to the «Triggers» tab and click the «Edit» button, then enter your new time. Click «OK» twice to save the changes.
Now you can do the same thing for the second task.
How to Remove the Scheduled Tasks
Don’t want to use the tasks anymore? Go back to the «Task Scheduler Library» folder and right-click each task. Select «Disable» or «Delete» from the menu. «Disable» will keep the task, but simply stop it from running.
Do not disable, delete, or edit any of the existing Windows system tasks. You could cause some serious problems with your PC. We can safely delete the tasks we created ourselves.
That’s all there is to it! Sadly, Microsoft doesn’t make this as easy as it is on macOS, iPhone, and Android. The functionality is clearly there, they just haven’t decided to make it easily accessible. Until that day comes, this is the best built-in solution.