Jump to content

evensr

Member
  • Posts

    2
  • Joined

  • Last visited

Posts posted by evensr

  1. Hey,

     

    I’m working on a very simple workflow using the alfred2-ruby-template, but I haven’t figured out how to set custom icons for the items in the result list. I have the icons available in .png and .icns format in the workflow folder. This is an example of one of the items:

    fb.add_item({
        :uid      => "lessons"               ,
        :title    => "#{wkresult.fetch("lessons_available")} lessons available"          ,
        :subtitle => "Action this to go to the lessons"        ,
        :arg      => URI.escape("https://www.wanikani.com/lesson"),
        :valid    => "yes"                  ,
      })

    How do I add a custom icon here? Thanks.

×
×
  • Create New...