Skip to content

Instantly share code, notes, and snippets.

@dchest
Created December 15, 2009 20:39
Show Gist options
  • Save dchest/257281 to your computer and use it in GitHub Desktop.
Save dchest/257281 to your computer and use it in GitHub Desktop.
Toggle shadows on screenshots (Cmd+Shift+4 - Space). Run once to disable shadows, run again to enable them back.
#!/bin/sh
(defaults read com.apple.screencapture disable-shadow 2> /dev/null && \
defaults delete com.apple.screencapture disable-shadow && \
echo "Screenshot shadows ON") || \
(defaults write com.apple.screencapture disable-shadow -bool true && \
echo "Screenshot shadows OFF")
killall SystemUIServer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment