diff options
author | Alan Pearce | 2023-04-02 20:27:53 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-02 20:27:53 +0200 |
commit | c6440f3e932e936ce603a977c725f554c9ce44bf (patch) | |
tree | 7c363282d8fdd11d1c5f8d98f6743594cf717282 /user/zsh | |
parent | 14e573db264debf99046142ce9a72f41ccdf3baa (diff) | |
download | nixfiles-c6440f3e932e936ce603a977c725f554c9ce44bf.tar.lz nixfiles-c6440f3e932e936ce603a977c725f554c9ce44bf.tar.zst nixfiles-c6440f3e932e936ce603a977c725f554c9ce44bf.zip |
emacs: re-implement auto dark/light mode switching on macOS
Since I'm not using EmacsMacPort any more, the function `(mac-application-state)` isn't defined. However, we can use launchd to tell us when the system preferences change and then ask whether light or dark mode is active
Diffstat (limited to 'user/zsh')
0 files changed, 0 insertions, 0 deletions