Files
menologion/waybar/style.css
T
funkpower 92b2efbd51 desktop front ends for typikon
A Quickshell widget for Hyprland, a waybar module and an eww panel, all
reading the same JSON from the typikon CLI so none of them touches the
network and all three agree.

The Quickshell piece is three separable parts: a Typikon singleton that
wraps the CLI and re-reads only when the date rolls over, a Theme singleton
that takes colours from JSON with a default for every key, and the widget
itself.

The legend is built from the week in view rather than hardcoded, because the
levels a tradition uses are its own -- six under the Typikon, three under
Ruthenian particular law -- and the words for them differ too. The church
date shows beside the civil one whenever they differ, which on the old
calendar is always. Forefeasts and afterfeasts get their own line instead of
crowding out the commemoration that makes the day.
2026-09-18 09:17:14 -04:00

26 lines
978 B
CSS

/* horologion — waybar styling for the custom/typikon module.
*
* The module's class is the fast level, so a day's discipline can be read off
* the colour without reading the text. `.obligatory` is added only where a
* particular law actually binds — under the Typikon it never appears, which is
* correct: the Orthodox Church keeps the fast as tradition, not as precept. */
#custom-typikon {
padding: 0 10px;
color: #a89984;
}
#custom-typikon.strict { color: #fb4934; font-weight: bold; }
#custom-typikon.xerophagy { color: #fe8019; }
#custom-typikon.wine_oil { color: #fabd2f; }
#custom-typikon.fish { color: #8ec07c; }
#custom-typikon.dairy { color: #83a598; }
#custom-typikon.none { color: #a89984; }
#custom-typikon.obligatory { text-decoration: underline; }
/* A great feast outranks the fast in what you would want to see first. */
#custom-typikon.great { color: #d3869b; font-weight: bold; }
#custom-typikon.error { color: #fb4934; }