From 53ad25148874de331564846ec4a0057278ef5ba6 Mon Sep 17 00:00:00 2001 From: funkpower Date: Fri, 18 Sep 2026 13:35:30 -0400 Subject: [PATCH] typikon is a binary now, so cargo install, not pipx The install line still said pipx, which stopped being true when the engine was rewritten. It is one static binary with the calendar compiled in, so there is no runtime to install and no data file to find. Also points a Byzantine Catholic at --typikon while they are setting a default, since the flag is the one most of them will want, and notes that anything the widget does not set follows what typikon remembered, so a widget and a terminal on the same machine agree. --- README.md | 21 ++++++++++++++++++--- bin/menologion-install | 2 +- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bb623ef..0724684 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,23 @@ changes at midnight and at no other moment. ## Install -`typikon` first, since all three front ends shell out to it: +`typikon` first, since all three front ends shell out to it. It is one static +binary with the calendar compiled in, so there is no runtime to install and no +data file to find: ```console -$ pipx install git+https://git.pumpin.online/funkpower/typikon +$ cargo install --git https://git.pumpin.online/funkpower/typikon $ typikon --set-default rocor # or antiochian, oca, greece, ... ``` +`typikon --list` has every jurisdiction. A Byzantine Catholic will usually want +`--typikon` on that line too, which shows the day at the full Byzantine +discipline rather than at the smaller minimum particular law requires: + +```console +$ typikon --set-default ruthenian --typikon +``` + Then: ```console @@ -72,7 +82,12 @@ Menologion { ``` `Typikon.forDate` takes an ISO date and shows a different day, which is how -you look at what Great Week will ask of you before it arrives. +you look at what Great Week will ask of you before it arrives. `Typikon.days` +sets how far ahead the week list runs. + +Anything not set here follows whatever `typikon --set-default` remembered, +including the discipline, so the widget and a terminal on the same machine +agree. ### Colours diff --git a/bin/menologion-install b/bin/menologion-install index e448ce3..88f2216 100755 --- a/bin/menologion-install +++ b/bin/menologion-install @@ -82,7 +82,7 @@ NOTE require_typikon() { command -v typikon >/dev/null 2>&1 && return 0 echo "menologion: typikon is not on PATH." >&2 - echo " pipx install git+https://git.pumpin.online/funkpower/typikon" >&2 + echo " cargo install --git https://git.pumpin.online/funkpower/typikon" >&2 exit 1 }