Skip to content
プロジェクト

krestaino/macos-folder-icons

GitHubで見る

概要

📁 Generate custom folder icons using images or SF Symbols.

デザイン・メディア

この数値の測り方

計測したスター増加

24時間
0
7日間
+2
15日間
+2
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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.

Screenshot

Requirements

ImageMagick 7

Getting Started

  1. Download or clone the repo and open a terminal at the root of the project.
  2. Place images in the custom folder if you want to use SVGs or PNGs.
  3. Copy symbols into the symbols.txt file if you want to use SF Symbols.
  4. Run ./build.sh to build the icons.
  5. 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

  1. Edit ASSETS_LOCATION to the appropriate path for your OS version.
  2. Edit DARK_FOLDER and LIGHT_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.

関連プロジェクトを探す

読み込み中…