Skip to content

Instantly share code, notes, and snippets.

@jvlahos
Created September 22, 2013 17:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jvlahos/6662210 to your computer and use it in GitHub Desktop.
Save jvlahos/6662210 to your computer and use it in GitHub Desktop.
Quickly show/hide your desktop icons. Good for presentations or taking clean desktop screenshots / photos. Add it to the bottom of your .bash_profile file. Then run 'hideDesktop' or 'showDesktop' in your terminal.
alias hideDesktop='defaults write com.apple.finder CreateDesktop -bool false; killall Finder'
alias showDesktop='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