Skip to content

A tool to sync your icon theme on macOS

License

Notifications You must be signed in to change notification settings

fabianishere/iconsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iconsync

A tool to sync the icons of your applications to a custom icon theme on macOS.

Usage

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.

Updating default theme

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.

Install

The module is available in my personal Homebrew repository. Use the following command to install it:

$ brew install fabianishere/personal/iconsync

Building

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 

License

The code is released under the MIT license. See LICENSE.txt.