Add to ~/.profile:
alias dark="osascript -e '
tell application \"System Events\" to \
tell appearance preferences to \
set dark mode to not dark mode'"
Use:
$ dark
Add to ~/.profile:
alias dark="osascript -e '
tell application \"System Events\" to \
tell appearance preferences to \
set dark mode to not dark mode'"
Use:
$ dark