shoestrap/assets/default/mac-bin/toggle_dark_mode

10 lines
158 B
Plaintext
Raw Permalink Normal View History

#! /bin/sh
osascript <<EOF
tell application "System Events"
tell appearance preferences
set dark mode to not dark mode
end tell
end tell
EOF