mirror of
https://git.pumpin.online/funkpower/menologion.git
synced 2026-10-22 18:57:14 +00:00
horologion was the wrong book
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.
This commit is contained in:
@@ -1,62 +0,0 @@
|
||||
// horologion — colours are variables so you can point them at your own theme.
|
||||
// Defaults are a neutral dark set; override them before the @import.
|
||||
|
||||
$horologion-fg: #ebdbb2 !default;
|
||||
$horologion-fg-dim: #a89984 !default;
|
||||
$horologion-accent: #d3869b !default;
|
||||
$horologion-red: #fb4934 !default;
|
||||
$horologion-yellow: #fabd2f !default;
|
||||
$horologion-surface: #282828 !default;
|
||||
$horologion-overlay: #504945 !default;
|
||||
|
||||
.horologion {
|
||||
background-color: rgba(40, 40, 40, 0.82);
|
||||
border: 1px solid $horologion-overlay;
|
||||
border-radius: 14px;
|
||||
padding: 14px;
|
||||
color: $horologion-fg;
|
||||
min-width: 400px;
|
||||
|
||||
.glyph-big { font-size: 28px; }
|
||||
.glyph { font-size: 15px; }
|
||||
|
||||
.title {
|
||||
font-weight: bold;
|
||||
font-size: 13px;
|
||||
&.feast { color: $horologion-accent; }
|
||||
}
|
||||
|
||||
.sub {
|
||||
font-size: 10px;
|
||||
color: $horologion-yellow;
|
||||
&.obligatory { color: $horologion-red; font-weight: bold; }
|
||||
}
|
||||
|
||||
.cycle {
|
||||
font-size: 10px;
|
||||
font-style: italic;
|
||||
color: rgba(168, 153, 132, 0.8);
|
||||
}
|
||||
|
||||
.fast { font-size: 11px; color: $horologion-fg-dim; }
|
||||
|
||||
.rule {
|
||||
background-color: rgba(80, 73, 69, 0.6);
|
||||
min-height: 1px;
|
||||
}
|
||||
|
||||
.weekday { font-size: 11px; color: $horologion-yellow; }
|
||||
|
||||
.day {
|
||||
font-size: 10px;
|
||||
color: $horologion-fg-dim;
|
||||
&.feast { color: $horologion-accent; }
|
||||
}
|
||||
|
||||
.pascha { font-size: 10px; color: $horologion-fg-dim; }
|
||||
}
|
||||
|
||||
.horologion-bar {
|
||||
.glyph { font-size: 14px; }
|
||||
.title { font-size: 12px; }
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
// menologion — colours are variables so you can point them at your own theme.
|
||||
// Defaults are a neutral dark set; override them before the @import.
|
||||
|
||||
$menologion-fg: #ebdbb2 !default;
|
||||
$menologion-fg-dim: #a89984 !default;
|
||||
$menologion-accent: #d3869b !default;
|
||||
$menologion-red: #fb4934 !default;
|
||||
$menologion-yellow: #fabd2f !default;
|
||||
$menologion-surface: #282828 !default;
|
||||
$menologion-overlay: #504945 !default;
|
||||
|
||||
.menologion {
|
||||
background-color: rgba(40, 40, 40, 0.82);
|
||||
border: 1px solid $menologion-overlay;
|
||||
border-radius: 14px;
|
||||
padding: 14px;
|
||||
color: $menologion-fg;
|
||||
min-width: 400px;
|
||||
|
||||
.glyph-big { font-size: 28px; }
|
||||
.glyph { font-size: 15px; }
|
||||
|
||||
.title {
|
||||
font-weight: bold;
|
||||
font-size: 13px;
|
||||
&.feast { color: $menologion-accent; }
|
||||
}
|
||||
|
||||
.sub {
|
||||
font-size: 10px;
|
||||
color: $menologion-yellow;
|
||||
&.obligatory { color: $menologion-red; font-weight: bold; }
|
||||
}
|
||||
|
||||
.cycle {
|
||||
font-size: 10px;
|
||||
font-style: italic;
|
||||
color: rgba(168, 153, 132, 0.8);
|
||||
}
|
||||
|
||||
.fast { font-size: 11px; color: $menologion-fg-dim; }
|
||||
|
||||
.rule {
|
||||
background-color: rgba(80, 73, 69, 0.6);
|
||||
min-height: 1px;
|
||||
}
|
||||
|
||||
.weekday { font-size: 11px; color: $menologion-yellow; }
|
||||
|
||||
.day {
|
||||
font-size: 10px;
|
||||
color: $menologion-fg-dim;
|
||||
&.feast { color: $menologion-accent; }
|
||||
}
|
||||
|
||||
.pascha { font-size: 10px; color: $menologion-fg-dim; }
|
||||
}
|
||||
|
||||
.menologion-bar {
|
||||
.glyph { font-size: 14px; }
|
||||
.title { font-size: 12px; }
|
||||
}
|
||||
@@ -1,10 +1,10 @@
|
||||
;; horologion — the liturgical day for eww
|
||||
;; menologion — the liturgical day for eww
|
||||
;;
|
||||
;; Include this from your own eww.yuck:
|
||||
;;
|
||||
;; (include "horologion/horologion.yuck")
|
||||
;; (include "menologion/menologion.yuck")
|
||||
;;
|
||||
;; and put (horologion) in a window, or (horologion-bar) in a bar. Set a
|
||||
;; and put (menologion) in a window, or (menologion-bar) in a bar. Set a
|
||||
;; jurisdiction by adding `--jurisdiction <name>` to both defpoll commands
|
||||
;; below; leaving them as they are follows whatever `typikon --set-default`
|
||||
;; wrote.
|
||||
@@ -22,8 +22,8 @@
|
||||
`typikon --json --days 6 --date $(date -d tomorrow +%F)`)
|
||||
|
||||
;; ── the one-line version, for a bar
|
||||
(defwidget horologion-bar []
|
||||
(box :class "horologion-bar"
|
||||
(defwidget menologion-bar []
|
||||
(box :class "menologion-bar"
|
||||
:space-evenly false
|
||||
:spacing 6
|
||||
(label :class "glyph" :text {typikon-day.emoji ?: ""})
|
||||
@@ -32,8 +32,8 @@
|
||||
:text {typikon-day.title ?: "typikon?"})))
|
||||
|
||||
;; ── the full panel
|
||||
(defwidget horologion []
|
||||
(box :class "horologion"
|
||||
(defwidget menologion []
|
||||
(box :class "menologion"
|
||||
:orientation "v"
|
||||
:space-evenly false
|
||||
:spacing 8
|
||||
Reference in New Issue
Block a user