Code Monkey home page Code Monkey logo

quand's Introduction

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

quand's People

Contributors

ratakor avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

laitram31

quand's Issues

Some errors

when I run quand -p

/usr/bin/quand: 119: [: Illegal number:
/usr/bin/quand: 126: [: Illegal number:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.