/* clectio -- tiny, fast, suckless daily readings. * * Computes nothing at runtime: the liturgical calendar, its reading citations * and the scripture text are all compiled in (see gen/ and the Makefile). For a * date it does a table lookup and prints the day and its readings. Configuration * is compile-time (config.h), suckless-style: edit and recompile. * * Copyright (C) 2026 Ćukasz Kasprzak. SPDX-License-Identifier: GPL-3.0-or-later * * clectio is free software: you may redistribute and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version, and WITHOUT ANY WARRANTY. See the LICENSE file for the full text. * * The compiled scripture text is a separate work under its own terms; the * default Latin Vulgate is public domain (see README). */ #define _POSIX_C_SOURCE 200809L /* localtime_r, isatty under -std=c99 */ #define _DEFAULT_SOURCE /* struct winsize / TIOCGWINSZ under -std=c99 */ #include "config.h" #include LITURGY /* gen/liturgy_