Created
July 26, 2013 02:13
-
-
Save i3zhe/6085523 to your computer and use it in GitHub Desktop.
Add REMOVE_FROM_DOCK to your dock icon's context menu, and you can hide finder from there
This file contains 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
f=/System/Library/CoreServices/Dock.app/Contents/Resources/DockMenus; sudo cp $f.plist $f-old.plist; sudo defaults write $f finder-running -array-add '<dict><key>command</key><integer>1004</integer><key>name</key><string>REMOVE_FROM_DOCK</string></dict>'; sudo chmod 644 $f.plist; osascript -e 'quit app "Dock"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment