mirror of
https://git.pumpin.online/funkpower/menologion.git
synced 2026-10-23 03:07:12 +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,3 +1,3 @@
|
||||
module horologion.modules
|
||||
module menologion.modules
|
||||
Panel 1.0 Panel.qml
|
||||
Horologion 1.0 Horologion.qml
|
||||
Menologion 1.0 Menologion.qml
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
module horologion
|
||||
module menologion
|
||||
singleton Config 1.0 Config.qml
|
||||
|
||||
@@ -8,16 +8,16 @@ import Quickshell.Io
|
||||
// rest of your desktop.
|
||||
//
|
||||
// Every key has a default, so the widget is legible with no file at all. Point
|
||||
// HOROLOGION_COLORS at your own, or drop one at the path below. The shape is
|
||||
// MENOLOGION_COLORS at your own, or drop one at the path below. The shape is
|
||||
// the flat sixteen-colour kind most theme generators already emit.
|
||||
Singleton {
|
||||
id: root
|
||||
|
||||
readonly property string path: {
|
||||
const env = Quickshell.env("HOROLOGION_COLORS");
|
||||
const env = Quickshell.env("MENOLOGION_COLORS");
|
||||
return env && env !== ""
|
||||
? env
|
||||
: Quickshell.env("HOME") + "/.config/horologion/colors.json";
|
||||
: Quickshell.env("HOME") + "/.config/menologion/colors.json";
|
||||
}
|
||||
|
||||
property var c: ({})
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
module horologion.services
|
||||
module menologion.services
|
||||
singleton Typikon 1.0 Typikon.qml
|
||||
singleton Theme 1.0 Theme.qml
|
||||
|
||||
@@ -11,7 +11,7 @@ import "services"
|
||||
// A runnable widget on its own — `quickshell -p quickshell/shell.qml`.
|
||||
//
|
||||
// It sits on the background layer, so it behaves like part of the wallpaper:
|
||||
// always under your windows, never stealing a click. Drop the Horologion
|
||||
// always under your windows, never stealing a click. Drop the Menologion
|
||||
// component into an existing shell instead if you already have one.
|
||||
ShellRoot {
|
||||
Variants {
|
||||
@@ -22,7 +22,7 @@ ShellRoot {
|
||||
screen: modelData
|
||||
|
||||
WlrLayershell.layer: WlrLayer.Background
|
||||
WlrLayershell.namespace: "horologion"
|
||||
WlrLayershell.namespace: "menologion"
|
||||
exclusionMode: ExclusionMode.Ignore
|
||||
color: "transparent"
|
||||
|
||||
@@ -36,7 +36,7 @@ ShellRoot {
|
||||
id: content
|
||||
anchors.fill: parent
|
||||
|
||||
Horologion {
|
||||
Menologion {
|
||||
// Leave empty to follow `typikon --set-default`, or name a
|
||||
// jurisdiction here: "rocor", "antiochian", "oca", ...
|
||||
Component.onCompleted: Typikon.jurisdiction = ""
|
||||
|
||||
+2
-2
@@ -22,7 +22,7 @@ ShellRoot {
|
||||
screen: Quickshell.screens[0]
|
||||
|
||||
WlrLayershell.layer: WlrLayer.Overlay
|
||||
WlrLayershell.namespace: "horologion-shot"
|
||||
WlrLayershell.namespace: "menologion-shot"
|
||||
exclusionMode: ExclusionMode.Ignore
|
||||
color: "transparent"
|
||||
|
||||
@@ -49,7 +49,7 @@ ShellRoot {
|
||||
anchors.topMargin: 34
|
||||
width: Config.width
|
||||
|
||||
Horologion {
|
||||
Menologion {
|
||||
Component.onCompleted: {
|
||||
const j = Quickshell.env("SHOT_JURISDICTION");
|
||||
const d = Quickshell.env("SHOT_DATE");
|
||||
|
||||
Reference in New Issue
Block a user