#! /usr/bin/env osascript tell application "System Events" tell appearance preferences dark mode end tell end tell