mirror of
https://git.pumpin.online/funkpower/menologion.git
synced 2026-10-22 18:57:14 +00:00
The Horologion is the Book of Hours: the fixed portions of the services themselves. This shows the day's commemorations, its fast and its season, which is a Menologion. Naming it for a book whose contents it does not carry was a real error and worth the churn to correct. typikon already uses the word internally, for menologion.py and the data file it loads. That is not a collision: typikon provides a menologion, this displays one. Renamed throughout, not just the repo: the two scripts, the QML component and its three qmldir modules, MENOLOGION_COLORS, ~/.config/menologion/colors.json, the eww widgets and scss variables, the waybar class. Verified standalone and embedded in a foreign shell, and the smoke suite still passes. Also drops the em dashes from the prose.
16 lines
534 B
JSON
16 lines
534 B
JSON
// Drop this module into your waybar config's "modules-right" as
|
|
// "custom/typikon", and merge the block below.
|
|
{
|
|
"custom/typikon": {
|
|
"exec": "menologion-waybar",
|
|
// Add -j to pin a jurisdiction, e.g. "menologion-waybar -j rocor".
|
|
// Without it, whatever `typikon --set-default` wrote is used.
|
|
"return-type": "json",
|
|
// The answer changes at midnight and at no other moment, so this is only
|
|
// about noticing the rollover.
|
|
"interval": 1800,
|
|
"tooltip": true,
|
|
"on-click": "typikon --days 7"
|
|
}
|
|
}
|