taskwarrior-tui icon indicating copy to clipboard operation
taskwarrior-tui copied to clipboard

Support calendar colors settings from taskwarrior

Open XVilka opened this issue 3 years ago • 4 comments

Basically loading and applying color values from taskrc for Calendar view:

# Command: calendar
color.calendar.due.today=color0 on color252
color.calendar.due=color0 on color249
color.calendar.holiday=rgb522 on rgb300
color.calendar.overdue=color0 on color255
color.calendar.today=color0 on rgb511
color.calendar.weekend=on color235
color.calendar.weeknumber=rgb100

Taken from https://github.com/GothenburgBitFactory/taskwarrior/blob/develop/doc/rc/dark-red-256.theme

XVilka avatar Jul 28 '22 04:07 XVilka

Can take a look at this if you'd like @kdheepak, should be able to piggyback off the existing config import code to get the values pulled in, then leverage them in the calendar module.

KohlJary avatar Aug 24 '22 17:08 KohlJary

If you can that would be amazing! I’m going to be busy with personal life stuff for a month or so, and won’t really be able to work on this.

kdheepak avatar Aug 24 '22 17:08 kdheepak

Been looking for something to shore up my rust know how anyways, can help pick up some of the slack. Okay if I shoot an email if I need to run anything past you? Could have sworn this site used to have private messaging...

KohlJary avatar Aug 24 '22 17:08 KohlJary

Yes absolutely! Thank you so much for contributing!

kdheepak avatar Aug 24 '22 17:08 kdheepak