https://github.com/fluffynuts/yinyang
Light/Dark theme switcher for Windows 10
https://github.com/fluffynuts/yinyang
Last synced: 4 days ago
JSON representation
Light/Dark theme switcher for Windows 10
- Host: GitHub
- URL: https://github.com/fluffynuts/yinyang
- Owner: fluffynuts
- License: bsd-3-clause
- Created: 2021-08-25T08:15:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T14:47:42.000Z (over 3 years ago)
- Last Synced: 2025-02-24T11:17:18.456Z (over 1 year ago)
- Language: C#
- Size: 261 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YinYang
### What is this?
A small windows tray utility to switch between light and dark themes
### Why?
- I'd like to work outside in the fresh air and sunshine sometimes
- My display is bright, but not bright enough to compete with outside light
- Windows 10 has dark and light themes
- Typically, the dark theme suits me best
- Outside, the light theme is the only way to see things properly
- Many apps know how to follow the dark/light theme switch
- Rider / WebStorm / other JetBrains IDE's (configure to follow system theme & select your desired light & dark themes)
- VSCode
- Windows Terminal (partial - terminal colors have to be manually tweaked, for now at least)
### Status
Simplest proof-of-concept
- adds a systray icon
- clicking flips between dark and light
- there's a menu item for that too, if you prefer
- notification of the impending switch
- is aware of the current theme at startup
- is not aware of theme changes outside of the app
### TODO
- react to theme changes outside the app
- icon should animate on change & "flip" such that
- when light theme, light on top
- when dark theme, dark on top
- custom handlers for apps which don't switch automatically
- should update the Windows Terminal selected colorScheme
- ???
- automatic mode: attempt to determine ambient light &
automatically switch based on thresholds
- I'm not sure if this can even happen: my laptop doesn't appear
to have a light sensor that Windows.Devices picks up
- alt. automatic mode: based on power source
- switch to light when on battery
- this is when I'd be outside
- switch to dark when powered
- back in the cave!