System icons

The workflow module provides access to a number of default macOS icons via ICON_* constants for use when generating Alfred feedback:

1
2
3
4
5
from workflow import Workflow, ICON_INFO

wf = Workflow()
wf.add_item('For your information', icon=ICON_INFO)
wf.send_feedback()

List of icons

These are all the icons accessible in workflow. They (and more) can be found in /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/.

Name Preview
ICON_ACCOUNT ../_images/ICON_ACCOUNT.png
ICON_BURN ../_images/ICON_BURN.png
ICON_CLOCK ../_images/ICON_CLOCK.png
ICON_COLOR ../_images/ICON_COLOR.png
ICON_COLOUR ../_images/ICON_COLOUR.png
ICON_EJECT ../_images/ICON_EJECT.png
ICON_ERROR ../_images/ICON_ERROR.png
ICON_FAVORITE ../_images/ICON_FAVORITE.png
ICON_FAVOURITE ../_images/ICON_FAVOURITE.png
ICON_GROUP ../_images/ICON_GROUP.png
ICON_HELP ../_images/ICON_HELP.png
ICON_HOME ../_images/ICON_HOME.png
ICON_INFO ../_images/ICON_INFO.png
ICON_NETWORK ../_images/ICON_NETWORK.png
ICON_NOTE ../_images/ICON_NOTE.png
ICON_SETTINGS ../_images/ICON_SETTINGS.png
ICON_SWIRL ../_images/ICON_SWIRL.png
ICON_SWITCH ../_images/ICON_SWITCH.png
ICON_SYNC ../_images/ICON_SYNC.png
ICON_TRASH ../_images/ICON_TRASH.png
ICON_USER ../_images/ICON_USER.png
ICON_WARNING ../_images/ICON_WARNING.png
ICON_WEB ../_images/ICON_WEB.png

If you’d like other standard macOS icons to be added, please add an issue on GitHub.