Originally Posted by
Sarai the Geek
One more thing- because it's counting by lines, when a buddy has a custom status message it counts that as an extra line and thus an extra buddy, so the count isn't always accurate. Is there a way to attach a template to that script call so that I can format it as 1 buddy per line with no status message?
Yep, use the --template option. From conkyPidgin --help :
Code:
-t FILE, --template=FILE
Template file determining the format for each buddy's
data. Use the following placeholders: [name], [alias],
[group], [status], [status_message].
So, you would create a simple template file using the placeholders mentioned above and then use it by adding a --template=/path/to/file option in your exec calls.
In theory just use one placeholder for alias and you just want a count...
Cheers
Bookmarks