System icons¶
The workflow module provides access to a number of default OS X 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 | ![]() |
ICON_BURN | ![]() |
ICON_CLOCK | ![]() |
ICON_COLOR | ![]() |
ICON_COLOUR | ![]() |
ICON_EJECT | ![]() |
ICON_ERROR | ![]() |
ICON_FAVORITE | ![]() |
ICON_FAVOURITE | ![]() |
ICON_GROUP | ![]() |
ICON_HELP | ![]() |
ICON_HOME | ![]() |
ICON_INFO | ![]() |
ICON_NETWORK | ![]() |
ICON_NOTE | ![]() |
ICON_SETTINGS | ![]() |
ICON_SWIRL | ![]() |
ICON_SWITCH | ![]() |
ICON_SYNC | ![]() |
ICON_TRASH | ![]() |
ICON_USER | ![]() |
ICON_WARNING | ![]() |
ICON_WEB | ![]() |
If you’d like other standard OS X icons to be added, please add an issue on GitHub.