LionyxML / auto-dark-emacs

Auto-Dark-Emacs is an auto changer between 2 themes, dark/light, following MacOS, Linux or Windows Dark Mode settings
GNU General Public License v2.0
140 stars 34 forks source link

Simplify AppleScript handling #59

Open sellout opened 1 month ago

sellout commented 1 month ago

This unifies the three separate copies of the AppleScript used to query the system’s mode.

Each of the three approaches has some changes

sellout commented 1 month ago

I tested both the ns-do-applescript and osascript approaches, but I’m not sure where mac-do-applescript comes from. If you let me know, I will mention it in the doc/comments and test that approach as well.