aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2011-09-20 15:13:59 +0300
committerMathias Bynens <mathias@qiwi.be>2011-09-20 15:13:59 +0300
commit597280716813d8465b7262f966ebf46836dd27ca (patch)
tree3ee345e88a5a92bf470ea43e304c4cdbc912e9b8 /.aliases
parentc7a82c23677c63327ba8cd1f8c5da22ddde1fb0b (diff)
downloaddotfiles-597280716813d8465b7262f966ebf46836dd27ca.tar.gz
dotfiles-597280716813d8465b7262f966ebf46836dd27ca.tar.bz2
dotfiles-597280716813d8465b7262f966ebf46836dd27ca.zip
Add aliases to hide/show all desktop icons.
Diffstat (limited to '.aliases')
-rw-r--r--.aliases4
1 files changed, 4 insertions, 0 deletions
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