(defpoll reminders_list :interval "3600s"
  'scripts/home/reminders')
(defwidget reminders [json]
  (box
    :class "notes"
    :orientation "v"
    :halign "baseline"
    :width 300
;;    :height 150
    :space-evenly true
    (for reminder in json
      (button :onclick "open '${reminder.url}'"
        (box 
          :orientation "v"
          (label
            :xalign 0
            :wrap false
            :text "${reminder.name}"))))
    ))
