Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thepacketgeek/cc6f8f162c71e3829eaf to your computer and use it in GitHub Desktop.
Save thepacketgeek/cc6f8f162c71e3829eaf to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# change to proper directory
cd /Applications/Google\ Drive.app/Contents/Resources/
# back up the files
sudo mkdir icon-backups
sudo cp mac-animate*.png icon-backups/
sudo cp mac-error*.png icon-backups/
sudo cp mac-inactive*.png icon-backups/
sudo cp mac-normal*.png icon-backups/
sudo cp mac-paused*.png icon-backups/
# replace "regular" versions with "inverse"
# animate
for idx in {1,2,3,4,5,6,7,8}
do
sudo cp "mac-animate$idx-inverse.png" "mac-animate$idx.png" && sudo cp "[email protected]" "[email protected]"
done
# error
sudo cp "mac-error-inverse.png" "mac-error.png" && sudo cp "[email protected]" "[email protected]"
# inactive
sudo cp "mac-inactive-inverse.png" "mac-inactive.png" && sudo cp "[email protected]" "[email protected]"
# normal
sudo cp "mac-normal-inverse.png" "mac-normal.png" && sudo cp "[email protected]" "[email protected]"
# paused
sudo cp "mac-paused-inverse.png" "mac-paused.png" && sudo cp "[email protected]" "[email protected]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment