aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
blob: 53f33787a1f028657ca57236630f0c9f61c0a668 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* clectio configuration -- suckless style: copy to config.h, edit, `make`.
 * Everything here is compile-time; the binary has no config file to read. */

/* --- Liturgical form: build ONE (recompile for the other). --------------- */
#define FORM_OF        /* Ordinary Form (modern, post-1969)     */
/* #define FORM_EF */  /* Extraordinary Form (1962)             */

/* --- Citation dialect: build ONE. ---------------------------------------- */
/* #define SIGLA_LATIN */ /* e.g. "Ier 14:17-22"  -- matches the Vulgate      */
#define SIGLA_ENGLISH     /* e.g. "Jer 14:17-22"                              */

/* --- Colourize the day name with its liturgical colour on a terminal. ---- */
#define COLOR 1

/* --- Which readings to print (the default; override per run with -a / -g). */
#define GOSPEL_ONLY 0  /* 0 = all readings; 1 = the Gospel only */

/* --- Wrap reading text at a column width. --------------------------------- */
#define WRAP 0  /* 0 = fit the terminal (no wrap when piped); N = fixed cols */

/* ------------------------- derived (do not edit) ------------------------- */
#if GOSPEL_ONLY
#  define READMODE "Gospel only"
#else
#  define READMODE "all readings"
#endif
#if WRAP <= 0
#  define WRAPNAME "terminal"
#else
#  define WRAPNAME "fixed"
#endif
#ifdef FORM_EF
#  define LITURGY  "gen/liturgy_ef.h"
#  define FORMNAME "Extraordinary Form (1962)"
#else
#  define LITURGY  "gen/liturgy_of.h"
#  define FORMNAME "Ordinary Form"
#endif
#ifdef SIGLA_LATIN
#  define SIGLANAME "Latin sigla"
#else
#  define SIGLANAME "English sigla"
#endif