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.
This commit is contained in:
funkpower
2026-09-18 13:35:30 -04:00
parent be81c682cb
commit 53ad251488
2 changed files with 19 additions and 4 deletions
+18 -3
View File
@@ -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
+1 -1
View File
@@ -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
}