Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

ander

By: a guest on Oct 3rd, 2010  |  syntax: None  |  size: 1.87 KB  |  hits: 63  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. from canto.extra import *
  2. link_handler("xterm -e lynx \"%u\"", text=True)
  3. link_handler("gnome-mplayer -someoptions \"%u\"", ext="mp3")
  4. link_handler("evince \"%u\"", ext="pdf", fetch=True)
  5. def resize_hook(cfg):
  6.     cfg.reader_orientation = "left"
  7.     cfg.reader_lines = cfg.width / 2
  8.     cfg.columns = (cfg.width / 2) / 65
  9. add("http://www.hispalinux.es/node/feed", tags=["Hispalinux"])
  10. add("http://backends.barrapunto.com/barrapunto.rss", tags=["Barrapunto"])
  11. add("http://www.meneame.net/rss2.php", tags=["Menéame: publicadas"])
  12. add("http://archlinux.org/feeds/news/", tags=["Arch Linux: Recent news updates"])
  13. add("http://www.reddit.com/.rss", tags=["reddit.com: where dreams come true"])
  14. add("http://feeds.feedburner.com/failblog", tags=["Epic Fail Funny Videos and Funny Pictures"])
  15. add("http://www.xkcd.com/atom.xml", tags=["xkcd.com"])
  16. add("http://www.reddit.com/r/linux/.rss", tags=["The Stallman Subreddit."])
  17. add("http://www.pixfans.com/feed/", tags=["PixFans"])
  18. add("http://bulma.net/xml.php", tags=["BulmaLUG"])
  19. add("http://feeds2.feedburner.com/ascodevida", tags=["Asco de vida"])
  20. add("http://www.hispalinux.es/node/feed", tags=["Hispalinux"])
  21. add("http://backends.barrapunto.com/barrapunto.rss", tags=["Barrapunto"])
  22. add("http://www.meneame.net/rss2.php", tags=["Menéame: publicadas"])
  23. add("http://archlinux.org/feeds/news/", tags=["Arch Linux: Recent news updates"])
  24. add("http://www.reddit.com/.rss", tags=["reddit.com: where dreams come true"])
  25. add("http://feeds.feedburner.com/failblog", tags=["Epic Fail Funny Videos and Funny Pictures"])
  26. add("http://www.xkcd.com/atom.xml", tags=["xkcd.com"])
  27. add("http://www.reddit.com/r/linux/.rss", tags=["The Stallman Subreddit."])
  28. add("http://www.pixfans.com/feed/", tags=["PixFans"])
  29. add("http://bulma.net/xml.php", tags=["BulmaLUG"])
  30. add("http://feeds2.feedburner.com/ascodevida", tags=["Asco de vida"])
  31. add("http://www.pikabit.net/feed/", tags=["Pikabit"])