Skip to content

Instantly share code, notes, and snippets.

@alecchen
Last active December 31, 2015 22:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alecchen/8055167 to your computer and use it in GitHub Desktop.
Save alecchen/8055167 to your computer and use it in GitHub Desktop.
a simple makefile to install/uninstall mac pro trash icon: http://jonathanhirz.com/macprotrash-icon/
DIR=/System/Library/CoreServices/Dock.app/Contents/Resources
PICS=trash*.png
PICS_BAK=bak
install:
mkdir -p $(PICS_BAK)
cp -f $(DIR)/$(PICS) $(PICS_BAK)
sudo cp $(PICS) $(DIR)
sudo killall Dock
uninstall:
sudo cp -f $(PICS_BAK)/$(PICS) $(DIR)
sudo killall Dock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment