Skip to content

shemaU2K/WinHighlightSync

Repository files navigation

WinHighlightSync 🎨

A lightweight C# utility that automatically synchronizes the Windows 11 selection (highlight) color with the system's current accent color. Perfect for Wallpaper Engine users who want a perfectly matching UI experience.

🌟 Features

  • Real-time Sync: Monitors accent color changes and updates the system highlight color instantly.
  • Low Footprint: Uses less than 0.1% CPU by utilizing event polling and WinAPI.
  • Zero Configuration: Automatically detects the theme and applies changes.
  • Auto-start: Includes a built-in feature to run on system boot.

🛠 How it Works

Windows 11 often keeps the classic "blue" selection color even when the system accent color changes. This tool bridges that gap by:

  1. Monitoring the AccentColor value in the Windows Registry (HKCU\Software\Microsoft\Windows\DWM).
  2. Updating the Hilight and HotTrackingColor registry keys.
  3. Forcing an instant UI update using WinAPI functions: SetSysColors and SendMessageTimeout.

📸 Visuals

Before/After: photo1(before) photo2(after)

Real-time usage:

8cd53bae9f194290a9849555ca0a1c10

🚀 Installation

  1. Go to the [Releases] page.
  2. Download the WinHighlightSync.exe.
  3. Run the application. It will automatically add itself to the startup and run in the background.

🏗 Requirements

  • Windows 11
  • .NET 9 Runtime (The Release version is self-contained and doesn't require separate installation).

📄 License

This project is licensed under the MIT License.

About

This is a utility that allows you to change the highlight colour in Windows 11

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages