macOS Folder Icons
This script generates custom folder icons using images (SVG, PNG, etc) or SF Symbols. The blank folder icon is extracted from your system, you may need to change the path location and file name depending on your OS version. This script targets macOS 12.x and 13.0.
Requirements
ImageMagick 7
Getting Started
- Download or clone the repo and open a terminal at the root of the project.
- Place images in the custom folder if you want to use SVGs or PNGs.
- Copy symbols into the symbols.txt file if you want to use SF Symbols.
- Run
./build.sh
to build the icons. - Icons are located in the build folder.
Using Icons
https://support.apple.com/en-gu/guide/mac-help/mchlp2313/mac
Building on a different macOS version
- Edit
ASSETS_LOCATION
to the appropriate path for your OS version. - Edit
DARK_FOLDER
andLIGHT_FOLDER
to the appropriate file names of the extracted assets.
Contributing
Pull requests are welcome. I don't write Shell scripts much, so there's probably plenty of areas for improvement. A few things I'd like to add:
- Automatically detect the OS version and set the correct asset path and folder file name.
- Error handling. If this script fails, and you'll probably have no idea why.
- Not including acextract in this repo.
- Use something other than ImageMagick, it's quite slow if you build a lot of icons at once.
- Building a web app so users can easily make icons from their browser.