Skip to content

Instantly share code, notes, and snippets.

@seancoyne
Created October 21, 2014 15:34
Show Gist options
  • Save seancoyne/07ceb4395d867409fc22 to your computer and use it in GitHub Desktop.
Save seancoyne/07ceb4395d867409fc22 to your computer and use it in GitHub Desktop.
Fix Google Drive Yosemite Dark Mode Menu Bar Icons
#!/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]"
@eestein
Copy link

eestein commented Apr 19, 2015

The structure is the same to change the Google Play Music icons?
I have the same problem with that app (why am I not surprised...)

Thanks.

@BrechtDeMan
Copy link

Works great, thanks! v1.20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment