shoestrap/assets/default/mac-bin/toggle_dark_mode

10 lines
158 B
Bash
Executable File

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