Already a member?
Sign in
Liferea Plugin
gilir on the awn forum wrote a patch to Liferea to set awn:
gilir's message
I'm not sure what happened with this.
Here is another approach that uses the Liferea Lua scripting system:
http://www.stupididea.com/liferea-awn-plugin.py
Use with a Lua script in Liferea:
num = liferea.feedlist_get_unread_item_count()
cmd = string.format("%s %s", "python /path/to/liferea-awn-plugin.py ", num)
os.execute(cmd)
connected to hooks startup and item unselected. By tristil (Joseph Method) with help from tsukasa.
gilir's message
I'm not sure what happened with this.
Here is another approach that uses the Liferea Lua scripting system:
http://www.stupididea.com/liferea-awn-plugin.py
Use with a Lua script in Liferea:
num = liferea.feedlist_get_unread_item_count()
cmd = string.format("%s %s", "python /path/to/liferea-awn-plugin.py ", num)
os.execute(cmd)
connected to hooks startup and item unselected. By tristil (Joseph Method) with help from tsukasa.
Latest page update: made by tristil
, Apr 7 2007, 1:29 PM EDT
(about this update
About This Update
Edited by tristil
8 words added
view changes
- complete history)
Edited by tristil
8 words added
view changes
- complete history)
Keyword tags: None
More Info: links to this page
| Started By | Thread Subject | Replies | Last Post | |
|---|---|---|---|---|
| dolce.gabbana | Directly use Dbus ? | 0 | Jun 22 2007, 5:20 AM EDT by dolce.gabbana | |
|
Thread started: Jun 22 2007, 5:20 AM EDT
Watch
num = liferea.feedlist_get_unread_item_count()
awn = "/usr/bin/dbus-send --session --dest=com.google.code.Awn /com/google/code/ Awn com.google.code.Awn." name = "liferea" if num == 0 then cmd = string.format("%s%s string:%s", awn, "UnsetInfoByName", name) else cmd = string.format ("%s%s string:%s string:%s", awn, "SetInfoByName", n ame, num) msg = os.execute (cmd) end |
||||