aboutsummaryrefslogtreecommitdiffstats
path: root/icons.sh
AgeCommit message (Collapse)Author
2020-11-11Add license (GNU GPLv3+)Teddy Wing
2020-11-11icons.sh: Add a message about restartingTeddy Wing
Make it clear that you need to restart in order for icons to refresh properly.
2020-11-11icons.sh: Set Dock iconsTeddy Wing
Dock.app needs to be changed to include the Finder and both states of the Trash icon. Learned how to convert .icns files to PNG from: https://www.junian.net/tech/icns-to-png/
2020-11-11icons.sh: Copy icons to the correct locationsTeddy Wing
* It turns out not all icons I was trying to replace live in `CoreTypes.bundle`. They're instead spread out over various Kexts and bundles. Update the script to look in all of these places (except for the Dock, haven't done that yet because the .icns files need to be converted to PNGs in order to set up the replacement) and replace icons in their respective locations. * Now that we're modifying more bundles, we need to back up all of them. Replace the `cp`-based backup with a "tar gz"-based one. Use a timestamp on the backup file names to ensure we don't accidentally overwrite an icon/bundle backup.
2020-11-11icons.sh: Preserve file attributes when backing up CoreTypesTeddy Wing
2020-11-11Add icon replacement scriptTeddy Wing
Copies all icon files into `CoreTypes.bundle` and resets the icon cache. The computer will need to be restarted, or the user account re-logged-into in order for the changes to take effect. Leveraged the following scripts for the copy semantics and icon cache clearing instructions: - https://github.com/DocSystem/bigsur-icons-for-catalina/blob/14b8c406db69f6c48639e8dfd91b4c4e1cc9bf84/applyIcons.command - https://github.com/w0lfschild/ClassicFolders/blob/9221de592915aee3eb11dc471db95645e97bc566/classic_folders.command