The idea here is to figure out which mechanism auto-dark should use to determine the system theme one time (when the mode is enabled) instead of repeatedly.
This also provides a mechanism for override, for instance if you have the ns-do-applescript function available, but for some reason really want to use osascript instead, you can customize auto-dark-detection-method to osascript.
The idea here is to figure out which mechanism auto-dark should use to determine the system theme one time (when the mode is enabled) instead of repeatedly.
This also provides a mechanism for override, for instance if you have the
ns-do-applescript
function available, but for some reason really want to use osascript instead, you can customizeauto-dark-detection-method
toosascript
.