Skip to content

Instantly share code, notes, and snippets.

@meyer
Last active December 11, 2015 23:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meyer/4679140 to your computer and use it in GitHub Desktop.
Save meyer/4679140 to your computer and use it in GitHub Desktop.
STATUS=`defaults read com.apple.finder CreateDesktop`
if [ $STATUS == 0 ];
then
# Enable desktop
defaults write com.apple.finder CreateDesktop 1
else
# Disable desktop
defaults write com.apple.finder CreateDesktop 0
fi
killall Finder
@meyer
Copy link
Author

meyer commented Jan 31, 2013

WAT

Toggle your desktop icons the really really effective way.

USE CAUTION

You won’t be able to click on your desktop to focus Finder anymore. :C

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment