Skip to content

Important meeting painted at least in red #1452

@bjce

Description

@bjce

Hello. Thank you very much for the development and maintenance of khal/ikhal which is a amazing piece of software which I use on a daily basis for my schedule.

I have a color code for different types of meetings with a corresponding config file (see below).

With this config, the days in the calendar overview are painted with those colors (two colors if there are >1 types of meetings). If there is the private_hour_meeting, I want that this day in the overview calendar should be painted AT LEAST in red. However with the current config file, this is not always the case (it can be painted in light blue and yellow instead if there are 3 types of meetings on that day (private_hour_meeting, private_hour_not_scheduled, private_hour_scheduled). How can I make sure that, if there is private_hour_meeting on a day, that corresponding day will be painted at least in red?

Second I also want that, if there is a birthday and a meeting (plus any potential additional scheduled item), that theday should be painted in green and red?

Note (if that helps): usually, the number of meeting (per day) is smaller than private_hour_not_scheduled (per day) and private_hour_scheduled (per day)

Many thanks in advance!

[view]
theme = dark #dark, light

[calendars]
[[private_hour_meeting]]
  path = /path/to/work_hour_meeting
  color = dark red
  priority = 1
  type = calendar

[[private_hour_not_scheduled]]
  path = /path/to/work_hour_not_scheduled
  color = light blue
  priority = 17
  type = calendar

[[birthdays]]
path = /path/to/birthdays
  color = dark green
  priority = 2
  type = calendar

[[private_hour_scheduled]]
  path = /path/to/work_hour_scheduled
  color = yellow
  priority = 3
  type = calendar



[locale]
timeformat = %H:%M
dateformat = %d/%m/%Y
longdateformat = %d/%m/%Y
datetimeformat = %d/%m/%Y %H:%M
longdatetimeformat = %d/%m/%Y %H:%M

[default]
default_calendar = birthdays
highlight_event_days = True

[highlight_days] # this options colors the days according to their calendar colors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions