From 32b484f7c9b3dadff31fee966341598fc52c3ecb Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 16 Mar 2016 21:25:48 +0000 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index c52cd05..946348f 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,23 @@ Getting help on plugins: * `/help commands plugins` - Shows commands defined by plugins * `/help ` - Show help for a plugin command, e.g. `/help browser` +Plugin themes +------------- + +The plugins API includes functions to print themed output to the console or a plugins window. The themes need to be added to + +``` +~/.local/share/profanity/plugin_themes +``` + +For example ([syscmd.py](https://github.com/boothj5/profanity-plugins/blob/master/syscmd.py) plugin): + +``` +[system] +command=cyan +result=green +``` + Example plugin code -------------------