Turn on Dark Mode on your Mac with a keyboard shortcut, changing the system appearance immediately without opening System Settings.
Launch Application Actions can follow Set System Appearance, extending the shortcut into an evening routine or an app workspace that opens in Dark appearance.
Permissions
Accessibility
Automation: System Events