You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use printics as an ics prettyprinter. However the default format used by printics is completely useless for me (for one, it doesn't include the date of the event!).
Changing the format is pretty easy with -f, but I'd love to be able to set a different default in the configuration file.
The text was updated successfully, but these errors were encountered:
wavexx
changed the title
Customize format for "printics"
Customize default format for "printics"
Apr 12, 2017
On Fri, Apr 14 2017, Christian Geier wrote:
Perhaps a good first start would be to update the default. What would
you expect to see there/what would you put in your configuration?
Hard to say. I omit a lot of information that I don't need.
I currently have:
{bold}{start-long}{to-style}{end-necessary}{reset}: {location}\n
{red-bold}{title}{reset}\n\n{description}
However the current formats are a bit difficult to combine.
For example {to-style} is not removed if {end-necessary} is not
necessary.
{start-end-time-style} is unusable as doesn't consider multi-day events.
There's no relative date information that shows:
- today
- day of the week if within the current week
- full date otherwise
There's no {event-duration} which would be useful instead of showing the
end-time.
With conditionals we could do away with all the optional string formats.
adding {event-duration} would probably be very useful (and simple). Full scripting would be much nicer, but I don't know a good way how to do it without just evaling a string.
{today-or-weekday-or-date} or something similar would probably be useful as well. Feel free to open additional issues about those.
I use
printics
as an ics prettyprinter. However the default format used by printics is completely useless for me (for one, it doesn't include the date of the event!).Changing the format is pretty easy with
-f
, but I'd love to be able to set a different default in the configuration file.The text was updated successfully, but these errors were encountered: