Skip to content

martinkleppe/ThemeTogglePlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

🌗 Smart Theme Switch

Instant System Mode Control via the Logitech Actions Ring


The Problem

Switching between Light and Dark mode in Windows is a surprisingly high-friction task.

Users must:

  • Navigate through system settings
  • Rely on time-based automation
  • Or use third-party tools

Yet theme switching is highly contextual:

  • Light mode for presentations
  • Dark mode for coding
  • Light during the day
  • Dark at night

It’s a small action — but one that breaks flow every time.


The Solution

Smart Theme Switch brings instant Light/Dark control directly to the Logitech MX Master Actions Ring.

With a single press:

  • 🔄 Toggle between Light and Dark
  • 👁️ See the current theme state in real time
  • ⚡ Experience immediate system-wide visual feedback

No settings navigation. No disruption. Just flow.


Why This Matters for Logitech

The Actions Ring is designed for:

  • Fast contextual interaction
  • Workflow acceleration
  • Seamless hardware-to-software integration

Theme switching is a perfect example of a micro-interaction that benefits from hardware access:

  • It’s visual
  • It’s state-based
  • It’s frequently used
  • It demonstrates OS-level control

This plugin transforms the ring into a system-level mode controller.


Technical Implementation

  • Built with .NET (C#) using the Logitech Actions SDK
  • Implemented as a Multistate Action
    • State 0 → Light
    • State 1 → Dark
  • Uses Windows registry as the source of truth
  • Updates:
    • AppsUseLightTheme
    • SystemUsesLightTheme
  • Broadcasts WM_SETTINGCHANGE for immediate UI refresh

Lightweight. Native. Reliable.


User Experience

  1. Open the Actions Ring
  2. Instantly see current theme state
  3. Press once → entire system visually transforms

The interaction is immediate, satisfying, and frictionless.


Future Potential

This concept can expand into:

  • Scheduled switching (sunrise/sunset)
  • Per-application overrides
  • Focus profiles (Coding / Presentation / Night Mode)
  • Integration with Focus Assist or system presets

The ring becomes a context-aware system control hub.


Why This Project Stands Out

  • Solves a real, daily workflow friction
  • Demonstrates deep OS integration
  • Perfectly aligned with the Actions ecosystem
  • Clean technical implementation
  • Strong, visually impactful demo

Smart Theme Switch showcases how Logitech hardware can directly control and enhance the operating system experience.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages