I get distracted easily, so I wrote a little script to toggle the visibility of the desktop icons on Mac OSX.
Here it is:
#!/bin/bash
CURRENT=$(defaults read com.apple.finder CreateDesktop 2>/dev/null || echo 1)
defaults write com.apple.finder CreateDesktop $((! $CURRENT))
killall Finder
Just run this script and if the icons are on your desktop, they will all disappear… if you have already hidden them, run this script to get them back.
Leave a Reply