# autodarkmode/windows-auto-night-mode

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/autodarkmode-windows-auto-night-mode).**

9,139 stars · 291 forks · C# · gpl-3.0

## Links

- GitHub: https://github.com/AutoDarkMode/Windows-Auto-Night-Mode
- awesome-repositories: https://awesome-repositories.com/repository/autodarkmode-windows-auto-night-mode.md

## Topics

`csharp` `dark-theme` `darkmode` `light-theme` `lightweight` `theme-switch` `wallpaper-changer` `windows` `windows-10` `windows-11` `windows-desktop` `windowsappsdk` `winui3` `wpf`

## Description

Windows-Auto-Night-Mode is a theme scheduler and system theme controller for Windows that automatically switches the operating system between light and dark modes. It manages these transitions based on specific times of day or solar events, such as sunrise and sunset.

The tool functions as a power-aware manager that can adjust theme behavior based on battery status and suppress visual changes during active gaming. It synchronizes multiple visual elements, including wallpapers, accent colors, and mouse cursors, to ensure consistency during theme transitions.

The project includes capabilities for automated system scripting by executing user-defined external scripts during theme changes. It also provides accessibility management through the synchronization of system-wide color filters and grayscale modes.

Installation is handled via architecture-specific installers that utilize checksum verification to validate binary integrity.

## Tags

### System Administration & Monitoring

- [OS Theme Schedulers](https://awesome-repositories.com/f/system-administration-monitoring/task-schedulers/lighting-preset-schedulers/os-theme-schedulers.md) — Automatically toggles the operating system between light and dark modes based on specific times or solar events. ([source](https://github.com/AutoDarkMode/Windows-Auto-Night-Mode#readme))
- [OS Theme Schedulers](https://awesome-repositories.com/f/system-administration-monitoring/os-theme-schedulers.md) — Automatically switches between light and dark modes in Windows based on time or solar events.
- [Solar Event Triggers](https://awesome-repositories.com/f/system-administration-monitoring/time-synchronization/solar-event-triggers.md) — Calculates theme transition times using sunrise and sunset data based on geographic location.
- [Power Optimization Utilities](https://awesome-repositories.com/f/system-administration-monitoring/power-optimization-utilities.md) — Adjusts system theme behavior based on battery status to help reduce power consumption.
- [Scheduled State Polling](https://awesome-repositories.com/f/system-administration-monitoring/scheduled-state-polling.md) — Periodically monitors battery levels and active processes to determine if theme switches should be suppressed.
- [System Automation Scripts](https://awesome-repositories.com/f/system-administration-monitoring/system-automation-scripts.md) — Provides automation scripts that execute external commands during system theme transitions.

### Operating Systems & Systems Programming

- [Windows Registry Modifiers](https://awesome-repositories.com/f/operating-systems-systems-programming/windows-registry-modifiers.md) — Modifies Windows registry keys to trigger immediate system-wide transitions between light and dark modes.
- [Gameplay Theme Pauses](https://awesome-repositories.com/f/operating-systems-systems-programming/gameplay-theme-pauses.md) — Suspends theme transitions during active gaming to prevent system stuttering and maintain a smooth frame rate. ([source](https://github.com/AutoDarkMode/Windows-Auto-Night-Mode/tree/master/.github))

### User Interface & Experience

- [Color Themes](https://awesome-repositories.com/f/user-interface-experience/color-themes.md) — Coordinates the synchronization of wallpapers and accent colors during system theme transitions.
- [Power-Aware Theme Managers](https://awesome-repositories.com/f/user-interface-experience/styling-theming-systems/content-styling/theme-management/power-aware-theme-managers.md) — Manages visual themes based on battery status and suppresses changes during active gaming to optimize performance.
- [System Appearance Syncers](https://awesome-repositories.com/f/user-interface-experience/system-appearance-syncers.md) — Synchronizes various visual elements like wallpapers and cursors with the active system theme.
- [Theme Controllers](https://awesome-repositories.com/f/user-interface-experience/theme-controllers.md) — Controls the transition of system themes and triggers associated scripts and filters.
- [Theme Management Systems](https://awesome-repositories.com/f/user-interface-experience/theme-management-systems.md) — Automates the transition between light and dark modes for the Windows operating system.
- [Theming Systems](https://awesome-repositories.com/f/user-interface-experience/theming-systems.md) — Synchronizes wallpapers, accent colors, and mouse cursors to maintain visual consistency with the active theme.
- [Visual Element Synchronization](https://awesome-repositories.com/f/user-interface-experience/visual-element-synchronization.md) — Synchronizes wallpapers, mouse cursors, and accent colors to ensure a consistent look during theme transitions. ([source](https://github.com/AutoDarkMode/Windows-Auto-Night-Mode#readme))
- [System Theme Files](https://awesome-repositories.com/f/user-interface-experience/ui-architecture/design-utilities/design-systems/theme-architecture-frameworks/theme-customization/system-theme-files.md) — Provides the capability to apply and switch between system theme files to change the overall OS visual appearance. ([source](https://github.com/AutoDarkMode/Windows-Auto-Night-Mode/tree/master/.github))

### Part of an Awesome List

- [Battery Management](https://awesome-repositories.com/f/awesome-lists/productivity/battery-management.md) — Triggers theme changes based on device battery status to optimize power usage. ([source](https://github.com/AutoDarkMode/Windows-Auto-Night-Mode/tree/master/.github))

### Development Tools & Productivity

- [Platform Script Execution](https://awesome-repositories.com/f/development-tools-productivity/platform-script-execution.md) — Executes custom scripts within the system environment to trigger application changes during theme transitions. ([source](https://github.com/AutoDarkMode/Windows-Auto-Night-Mode/tree/master/.github))
- [Shell Script Execution Engines](https://awesome-repositories.com/f/development-tools-productivity/shell-script-execution-engines.md) — Triggers user-defined shell scripts automatically during system theme changes to extend automation.
