A tool to sync the icons of your applications to a custom icon theme on macOS.
iconsync [-vrh] target...
Arguments:
target - The file(s) to sync the icon theme for
Options:
-v, --version [default: false] - Show the version of this program
-r, --recursive [default: false] - Recursively iterate the targets
-t, --theme [default: ~/.theme] - The icon theme to apply
--help - Show a help message
iconsync
will identify each icon (in .icns
or .png
) in your theme directory and will apply
this icon to all macOS applications with the same name in the specified target directories.
You may update the directory of the default theme using defaults
:
$ defaults write nl.fabianishere.iconsync theme "<PATH>"
By default, iconsync
assumes the theme is located at ~/.theme
.
The module is available in my personal Homebrew repository. Use the following command to install it:
$ brew install fabianishere/personal/iconsync
The module is built using Swift Package Manager. Enter the following commands into your command prompt in the directory in which you intend to build the module:
$ swift build -c release
The code is released under the MIT license. See LICENSE.txt.