Last active
December 11, 2015 23:48
-
-
Save meyer/4679140 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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