miniblog.
← Back to all posts
Wilfred Hughes
Apr 10, 2018 at 23:20
This is very cool: dynamically adjusting an Emacs theme based on the amount of ambient light:
https://matthewbilyeu.com/blog/2018-04-09/setting-emacs-theme-based-on-ambient-light
Setting Emacs Theme Based on Ambient Light
I sit next to a window at work. On sunny days it’s easier to see a light editor theme, and when the sky is dark, a dark theme is easier on my eyes. So I decided to try to have my MacBook automatically switch the Emacs theme based on readings from the ambient light sensor.