aboutsummaryrefslogtreecommitdiff

Quand

Description

Quand is a simple calendar written in POSIX sh that take some inspiration from when, it's easily hackable and blazingly fast!

example

Installation

AUR: quand-git

Source:

$ git clone https://git.ratakor.com/quand.git
$ cd quand
# make install

Example of calendar file:

Any line that does not respect the 'yyyy mm dd' format will simply be ignored. The comma is not necessary, I just like it.

# Don't forget the 0 behind month or day
2023 04 28, 07:30 -> 09:30 English
2023 03 12, Dentist

# For events that happen once a week:
# The name of each day depends on your locale
Mon, don't forget to update with emerge -uDN @world
Fri, it's friday!

# Use a star for events that happen once a year:
* 08 10, Mum's anniversary
* 07 14, Bastille Day

# Use 2 stars for events that happen once a month:
* * 01, Happy New Month!

# Use 3 stars to always show an event:
* * * Good Morning :)
* * * 2023 03 31, URGENT don't forget your meeting

Configuration

Quand can be configured with a config file (~/.config/quand/config).

Quand follow the XDG Base Directory Specification and uses $EDITOR and $LANG to specify the default editor and language.

Default configuration:

language=en_US.UTF-8
calendar=/home/username/.local/share/quand/calendar
editor=vi
header=1
past=-1
future=14
yesterday="yesterday  "
# \033[1m is for bold, it's also possible to add color with for example \033[34m
today="\033[1mtoday      "
tomorrow="tomorrow   "
special="special   "
spaces="        " # to align name of months in case today... are too long
mondayfirst=0

TODO

  • add a ICS file converter or handle ICS files
  • refactor args parsing