Last active
March 29, 2019 22:44
-
-
Save timimsms/01c25cfadc53d0d17e248af5b3ee21d8 to your computer and use it in GitHub Desktop.
Show / Hide Desktop (Mac OS X)
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
# Note: Must be added to the bottom of your ~/.bash_proile or a | |
# dedicated ~/.aliases file sourced in ~/.bash/~/.bash_profile. | |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
# Used to hide all icons on the desktop user-interface. | |
alias restart-dns='sudo killall -HUP mDNSResponder' | |
alias hide-desktop=' | |
defaults write com.apple.finder CreateDesktop -bool false | |
killall Finder | |
echo "๐" | |
' | |
# Used to show/re-enable icons on the desktop user-interface. | |
alias show-desktop=' | |
defaults write com.apple.finder CreateDesktop -bool true | |
killall Finder | |
echo "๐" | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment