Open durableOne opened 5 years ago
Thanks for your patience and sending this in. I'll add this to the examples before the next release.
How did you group the sunrise and dayinfo, how did you assign them a category, do you safe them in your diary or one of your agenda files?
How did you group the sunrise and dayinfo, how did you assign them a category, do you safe them in your diary or one of your agenda files?
In any of your agenda files:
#+CATEGORY: Day Info
&%%(diary-day-of-year)
#+CATEGORY: Sunrise
&%%(diary-sunrise-sunset)
Note that you need to have set the calendar-latitude
and calendar-longitude
, calendar-location-name
and perhaps calendar-timezone
for your sunrise/sunset info to be accurate.
@durableOne Thanks, I didn't even know that was possible in the agenda. Very cool.
Thanks than I wasn't so far away. What does the the &
in front of the diary string do?
Instead of setting the calendar variables manually you can also install the geo package to do it for you.
What does the the
&
in front of the diary string do?
Nothing apparently. It can be removed with no adverse effects. I cargo-culted it when posting my answer yesterday. I actually had to re-Google how to add this info to my agenda as my configuration has changed a lot over the past 5 years and I stopped adding this stuff to my agenda a while back.
Good to know about the geo package, thanks!
Thank you for making this package. I find it really useful. I thought I would contribute my config and a screenshot in case it can benefit others.
Here's my config:
I'm probably not doing this in the most efficient way (this is my first attempt) but this setup works quite well for me.
Screenshot: