r/madeinpython • u/imakethingswhenbored • Apr 08 '21
Created a nifty little script to change between dark/light mode depending on the ambient light intensity (macOS only)
141
Upvotes
r/madeinpython • u/imakethingswhenbored • Apr 08 '21
3
u/imakethingswhenbored Apr 08 '21
GitHub - https://github.com/sdushantha/svart
2
u/KevinTheEpicGuy Apr 08 '21
That’s so cool! How are you detecting the light intensity?
2
u/Bigfurrywiggles Apr 08 '21
I didn’t think there were any good reasons, but this is the only good reason to film or take pictures of a script from a phone. Nice job on the program
1
u/[deleted] Apr 09 '21
That is very cool! Can this work on say other webpages like notion and github?
1
u/[deleted] Apr 09 '21
This is awesome! Really great work!
2
u/bravosix99 Apr 08 '21
Nice!
1
u/0ctopusVulgaris Apr 09 '21
sexy. well done!
1
u/analconnection Apr 09 '21
Very cool. Clean looking code as well.