Inkycal icon indicating copy to clipboard operation
Inkycal copied to clipboard

[FEATURE]: match formatting of calendar & agenda events, and make calendar events optional

Open ounrequitedo opened this issue 1 year ago • 7 comments

Is your feature request related to a problem? Please describe. when adding the calendar and agenda modules, you can easily see the difference in formatting of the two modules, which are kind of redundant in function

Describe the solution you'd like please remove agenda items section from the calendar module or make them optional with a toggle, as it's already served by the exclusive agenda module anyways and the formatting of both do not match (the agenda module is nicer and easier to read too imo)

Describe alternatives you've considered in the meantime, working directly with @aceisace i've hidden the events section of the Calendar app by changing the code in the calendar modules, but it may not persist through upgrades

Additional context thanks for the discord help!

ounrequitedo avatar Sep 17 '24 13:09 ounrequitedo

Hi there and welcome to Inkycal. Thanks for opening this issue. As this is your first issue in this repository, please read through the contributing guidelines

github-actions[bot] avatar Sep 17 '24 13:09 github-actions[bot]

Marking this issue as stale due to inactivity

github-actions[bot] avatar Mar 21 '25 23:03 github-actions[bot]

Hi Ounrequitedo,

i also think that the agenda entries under the calendar are unnecessary. Nevertheless, I think it's good when the days with appointments are marked in the calendar. Can you tell me how you changed the code?

git-mAdHeN avatar Mar 27 '25 11:03 git-mAdHeN

Hi Ounrequitedo,

i also think that the agenda entries under the calendar are unnecessary. Nevertheless, I think it's good when the days with appointments are marked in the calendar. Can you tell me how you changed the code?

from my chat with the dev on discord (super friendly and helpful): Image

_While there isn't yet a separation between mark-day-with-events and display-events below calendar in the calendar module, with some hacking, you can easily get this done by modifying a few lines:

First, open the calendar module file on SSH: nano ~/Inkycal/inkycal/modules/inkycal_calendar.py

Then, modify the lines so that they look like the version on the right of both images. Left side is before the change, as they should be in your file at the moment, the right side is the updated file._

also: To hide the dashed line, you can remove the following section, right at the bottom of the file: else: symbol = '- ' while self.font.getlength(symbol) < im_width * 0.9: symbol += ' -' write( im_black, event_lines[0], (im_width, line_height), symbol, font=self.font, )

ounrequitedo avatar Mar 27 '25 17:03 ounrequitedo

Thank you! I appreciate your help.

git-mAdHeN avatar Mar 27 '25 19:03 git-mAdHeN

Marking this issue as stale due to inactivity

github-actions[bot] avatar Sep 27 '25 23:09 github-actions[bot]