5 ms·
Auto Dark Mode for Windows
- mmwelt 11mo agoA very similar function was just added to Microsoft PowerToys 0.95 recently, called Light Switch[1]. It doesn't have all the bells and whistles, but basically does the same task, including switching modes automatically based on sunrise and sunset times. [1] https://learn.microsoft.com/en-us/windows/powertoys/light-switch https://learn.microsoft.com/en-us/windows/powertoys/light-sw...
- mrkramer 11mo agoI had similar idea of changing my PC's brightness according to the time of the day. It probably could've been implemented pretty easily using Windows API and some little hacking.
- sodaclean 11mo agoLook at (Monitorian)[https://github.com/emoacht/Monitorian https://github.com/emoacht/Monitorian] for that.
- lousken 11mo agoIt's honestly surprising that it took this long even on KDE. I was switching themes automatically for years with a preference setting in f.lux. Every app on system preference, dark reader as well.
- gabrielsroka 11mo agoYears ago, I wrote a very stripped-down version in a few lines of PowerShell. I'll upload it when I get home.
- lostmsu 11mo agoI did the same just a few days ago based on webcam, 26 lines of PowerShell. See https://gist.github.com/lostmsu/cde4a8578d8e0ea1182f579f44bd4523 https://gist.github.com/lostmsu/cde4a8578d8e0ea1182f579f44bd...
- gabrielsroka 11mo agomy minimal powershell code $old = -1 while ($true) { $d = Get-Date $hour = $d.Hour if ($hour -ge 6 -and $hour -lt 19) { $light = 1 } else { $light = 0 } if ($old -ne $light) { Set-ItemProperty HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize AppsUseLightTheme $light $old = $light echo $light $d } sleep -Seconds 2 }
- BoredPositron 11mo agoDoes it really matter if 60% of system dialogs are still a flash bang?
- xaxaxb 11mo agoAre you on Windows 11?
- BoredPositron 11mo agoThey fixed the copy dialogs now but it's still not a full dark mode.
- deleted 11mo ago[deleted]
- xaxaxb 11mo agoThat's true tho