Last active
April 29, 2016 20:17
-
-
Save ap/16857589032c28974cb9d95ce896e2a9 to your computer and use it in GitHub Desktop.
Toggle MacOS Finder desktop icons on/off
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
#!/bin/sh | |
( defaults read com.apple.finder CreateDesktop 2>/dev/null || echo 1 ) | egrep -qxi '1|true|yes|on' | |
defaults write com.apple.finder CreateDesktop $? && killall Finder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment