Skip to content

Turns on Windows light theme and dark theme depending on the time of day.

Notifications You must be signed in to change notification settings

dikamsiyoung/win-auto-dark-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Auto Dark Mode

Turns on light or dark theme depending on the time of day.
This script creates new Windows Tasks which edit Windows theme registry for light theme at 7am and at 8pm for dark theme.

Importance

Light theme conserves battery life in the day with minimal brightness required to read screen contents while dark theme protects the eyes at night with lesser white screens. Auto Dark Mode is a quick and easy way to automate the process of switching between light and dark theme in a minimal way without installing third-party applications.

How to use

  • Download the zip and extract it to a location on your PC.
  • Edit set_preferred_time for your desired Light and Dark mode timing.
  • Run install.bat and that's all. You might want to make the few changes in the next section 😄.
  • If you change the location of the folder, please re-run the installer to update the location in Windows Task Scheduler.

Note

  • To view the tasks after installation, go Task Scheduler, expand the Task Scheduler Library. You should see the Theme Changer folder.
  • You can set each task to Run as soon as possible after a scheduled start is missed by checking the option in the Settings tab after double-clicking the particular task.
  • You can also uncheck the option to Start task only if the computer is on AC power in the Conditions tab.
  • You can change your preferred time anytime however, for it to work optimally you can reinstall the script.

Recognized Issues

  • Transition to any mode while on battery with Transparency on is buggy in Windows 10 (as at Build 1909)
  • You have to set each task in Theme Changer folder to Run as soon as possible after a scheduled start is missed. No way to configure it from the BAT file.

About

Turns on Windows light theme and dark theme depending on the time of day.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published