├── custom └── .gitkeep ├── symbols.txt ├── .gitignore ├── bin └── acextract ├── .github └── screenshot.png ├── LICENSE.md └── README.md /custom/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /symbols.txt: -------------------------------------------------------------------------------- 1 | 􀛸􀩼􀤑􀦇􀈑 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | build/* 3 | !build/.gitkeep 4 | custom/* 5 | !custom/.gitkeep 6 | -------------------------------------------------------------------------------- /bin/acextract: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krestaino/macos-folder-icons/HEAD/bin/acextract -------------------------------------------------------------------------------- /.github/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krestaino/macos-folder-icons/HEAD/.github/screenshot.png -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Kevin Restaino 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # macOS Folder Icons 2 | 3 | This script generates custom folder icons using images (SVG, PNG, etc) or [SF Symbols](https://developer.apple.com/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. 4 | 5 | ![Screenshot](.github/screenshot.png) 6 | 7 | ## Requirements 8 | 9 | ImageMagick 7 10 | 11 | ## Getting Started 12 | 13 | 1. Download or clone the repo and open a terminal at the root of the project. 14 | 2. Place images in the [custom](custom) folder if you want to use SVGs or PNGs. 15 | 3. Copy symbols into the [symbols.txt](symbols.txt) file if you want to use [SF Symbols](https://developer.apple.com/sf-symbols/). 16 | 4. Run `./build.sh` to build the icons. 17 | 5. Icons are located in the [build](build) folder. 18 | 19 | ## Using Icons 20 | 21 | https://support.apple.com/en-gu/guide/mac-help/mchlp2313/mac 22 | 23 | ## Building on a different macOS version 24 | 25 | 1. Edit `ASSETS_LOCATION` to the appropriate path for your OS version. 26 | 2. Edit `DARK_FOLDER` and `LIGHT_FOLDER` to the appropriate file names of the extracted assets. 27 | 28 | ## Contributing 29 | 30 | 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: 31 | 32 | - Automatically detect the OS version and set the correct asset path and folder file name. 33 | - Error handling. If this script fails, and you'll probably have no idea why. 34 | - Not including [acextract](https://github.com/bartoszj/acextract) in this repo. 35 | - Use something other than ImageMagick, it's quite slow if you build a lot of icons at once. 36 | - Building a web app so users can easily make icons from their browser. 37 | --------------------------------------------------------------------------------