Files

48 lines
1.3 KiB
QML
Raw Permalink Normal View History

2026-09-18 09:17:14 -04:00
//@ pragma UseQApplication
import QtQuick
import QtQuick.Layouts
import Quickshell
import Quickshell.Wayland
2026-09-18 10:29:37 -04:00
import "."
import "modules"
import "services"
2026-09-18 09:17:14 -04:00
// 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:
2026-09-18 10:52:56 -04:00
// always under your windows, never stealing a click. Drop the Menologion
2026-09-18 09:17:14 -04:00
// component into an existing shell instead if you already have one.
ShellRoot {
Variants {
model: Quickshell.screens
PanelWindow {
required property var modelData
screen: modelData
WlrLayershell.layer: WlrLayer.Background
2026-09-18 10:52:56 -04:00
WlrLayershell.namespace: "menologion"
2026-09-18 09:17:14 -04:00
exclusionMode: ExclusionMode.Ignore
color: "transparent"
anchors { top: true; right: true }
margins { top: 24; right: 24 }
implicitWidth: Config.width
implicitHeight: content.implicitHeight
ColumnLayout {
id: content
anchors.fill: parent
2026-09-18 10:52:56 -04:00
Menologion {
2026-09-18 09:17:14 -04:00
// Leave empty to follow `typikon --set-default`, or name a
// jurisdiction here: "rocor", "antiochian", "oca", ...
Component.onCompleted: Typikon.jurisdiction = ""
}
}
}
}
}