From 597280716813d8465b7262f966ebf46836dd27ca Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Tue, 20 Sep 2011 15:13:59 +0300 Subject: Add aliases to hide/show all desktop icons. --- .aliases | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.aliases') diff --git a/.aliases b/.aliases index cb60eaa..a333df1 100644 --- a/.aliases +++ b/.aliases @@ -48,6 +48,10 @@ alias rot13='tr a-zA-Z n-za-mN-ZA-M' alias show="defaults write com.apple.Finder AppleShowAllFiles -bool true && killall Finder" alias hide="defaults write com.apple.Finder AppleShowAllFiles -bool false && killall Finder" +# Hide/show all desktop icons (useful when presenting) +alias hidedesktop="defaults write com.apple.finder CreateDesktop -bool false && killall Finder" +alias showdesktop="defaults write com.apple.finder CreateDesktop -bool true && killall Finder" + # Disable Spotlight alias spotoff="sudo mdutil -a -i off" # Enable Spotlight -- cgit v1.2.3