Created
February 5, 2010 00:53
-
-
Save mattmccray/295342 to your computer and use it in GitHub Desktop.
Bash script for showing/hiding desktop icons in OSX
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
# Goes in your .bash_rc or .profile | |
# Hides the icons from your desktop | |
desktop_hide() { | |
defaults write com.apple.finder CreateDesktop -bool false | |
killall Finder | |
} | |
# Show the icons from your desktop | |
desktop_show() { | |
defaults write com.apple.finder CreateDesktop -bool true | |
killall Finder | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment