omarchy-ui 0.0.4-x86_64-linux → 0.0.5-x86_64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/App.qml +4 -2
- data/BarWidget.qml +2 -1
- data/Panel.qml +7 -3
- data/README.md +454 -227
- data/Service.qml +62 -3
- data/lib/omarchy_ui/cli.rb +7 -17
- data/lib/omarchy_ui/generator.rb +105 -0
- data/lib/omarchy_ui/runtime.rb +32 -0
- data/lib/omarchy_ui.rb +117 -17
- data/vendor/runtime/x86_64-linux/RUNTIME_PROVENANCE.md +16 -6
- data/vendor/runtime/x86_64-linux/omarchy-ui-runtime +0 -0
- data/vendor/runtime/x86_64-linux/omarchy-ui-runtime.sha256 +1 -1
- data/vendor/runtime/x86_64-linux/runtime-provenance.json +12 -0
- metadata +20 -21
- data/Components/README.md +0 -40
- data/Components/Sparkline.qml +0 -36
- data/ControlNode.qml +0 -754
- data/lib/omarchy_ui/animation.rb +0 -24
- data/lib/omarchy_ui/application.rb +0 -322
- data/lib/omarchy_ui/builder.rb +0 -247
- data/lib/omarchy_ui/command.rb +0 -95
- data/lib/omarchy_ui/component_registry.rb +0 -87
- data/lib/omarchy_ui/components.rb +0 -43
- data/lib/omarchy_ui/node.rb +0 -30
- data/lib/omarchy_ui/project.rb +0 -108
- data/lib/omarchy_ui/protocol.rb +0 -29
- data/lib/omarchy_ui/scheduler.rb +0 -136
- data/lib/omarchy_ui/source_bundle.rb +0 -59
- data/lib/omarchy_ui/state_store.rb +0 -100
- data/lib/omarchy_ui/value.rb +0 -44
- data/manifest.json +0 -27
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3fbf5b96c9328c174f2b4f23eaa0d77c94abef05b7248e8c8dfe3c9faccb8295
|
|
4
|
+
data.tar.gz: 3e132767616cad3a67a1422dbb37797f9f7d82a2f3e4230aaf46e036c73a11d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c50abde08e09b6fbdfaedcedd5fbb11ba7b4a2acbdce67ad147f620981b11bd534857cfcc40c846007603333547a94b64c7d648acdcd07e16d0a1b0811044980
|
|
7
|
+
data.tar.gz: f8ac9e2883b7a34423c01007171d0baf417dd19ef7c290a65609d16fc283130dfb3a44a0a744def7a0c52b18ad3d074cb7e3d572ed9c4efa21da799436b0086f
|
data/App.qml
CHANGED
|
@@ -2,6 +2,7 @@ import QtQuick
|
|
|
2
2
|
import Quickshell
|
|
3
3
|
import qs.Commons
|
|
4
4
|
import qs.Ui as OmarchyUi
|
|
5
|
+
import "Theme" as ZuiTheme
|
|
5
6
|
|
|
6
7
|
ShellRoot {
|
|
7
8
|
id: root
|
|
@@ -91,7 +92,7 @@ ShellRoot {
|
|
|
91
92
|
bottom: parent.bottom
|
|
92
93
|
margins: Style.space(24)
|
|
93
94
|
}
|
|
94
|
-
visible: root.activeSurface !== "" && service.rootId(root.activeSurface) !== ""
|
|
95
|
+
visible: ZuiTheme.Fonts.ready && root.activeSurface !== "" && service.rootId(root.activeSurface) !== ""
|
|
95
96
|
bridge: service
|
|
96
97
|
surfaceName: root.activeSurface
|
|
97
98
|
controlId: service.rootId(surfaceName)
|
|
@@ -102,7 +103,8 @@ ShellRoot {
|
|
|
102
103
|
Text {
|
|
103
104
|
anchors.centerIn: parent
|
|
104
105
|
visible: !renderer.visible
|
|
105
|
-
text: service.lastError !== "" ? service.lastError
|
|
106
|
+
text: service.lastError !== "" ? service.lastError
|
|
107
|
+
: (ZuiTheme.Fonts.failed ? "Omarchy UI could not load Zui's bundled fonts" : "Starting Ruby UI…")
|
|
106
108
|
color: Color.foreground
|
|
107
109
|
font.family: Style.font.family
|
|
108
110
|
font.pixelSize: Style.font.body
|
data/BarWidget.qml
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import QtQuick
|
|
2
2
|
import qs.Commons
|
|
3
3
|
import qs.Ui
|
|
4
|
+
import "Theme" as ZuiTheme
|
|
4
5
|
|
|
5
6
|
BarWidget {
|
|
6
7
|
id: root
|
|
@@ -19,7 +20,7 @@ BarWidget {
|
|
|
19
20
|
ControlNode {
|
|
20
21
|
id: renderer
|
|
21
22
|
anchors.centerIn: parent
|
|
22
|
-
visible: root.rubyService && root.rootControlId !== ""
|
|
23
|
+
visible: ZuiTheme.Fonts.ready && root.rubyService && root.rootControlId !== ""
|
|
23
24
|
bridge: root.rubyService
|
|
24
25
|
surfaceName: root.surfaceName
|
|
25
26
|
controlId: root.rootControlId
|
data/Panel.qml
CHANGED
|
@@ -3,6 +3,7 @@ import Quickshell
|
|
|
3
3
|
import Quickshell.Wayland
|
|
4
4
|
import qs.Commons
|
|
5
5
|
import qs.Ui as OmarchyUi
|
|
6
|
+
import "Theme" as ZuiTheme
|
|
6
7
|
|
|
7
8
|
Item {
|
|
8
9
|
id: root
|
|
@@ -12,6 +13,9 @@ Item {
|
|
|
12
13
|
property var service: null
|
|
13
14
|
property bool opened: false
|
|
14
15
|
property string surfaceName: "counter"
|
|
16
|
+
readonly property string layerNamespace: manifest && manifest.id
|
|
17
|
+
? String(manifest.id)
|
|
18
|
+
: "omarchy-ui"
|
|
15
19
|
|
|
16
20
|
readonly property string rootControlId: service ? service.rootId(surfaceName) : ""
|
|
17
21
|
|
|
@@ -40,7 +44,7 @@ Item {
|
|
|
40
44
|
anchors { top: true; right: true; bottom: true; left: true }
|
|
41
45
|
color: "transparent"
|
|
42
46
|
exclusionMode: ExclusionMode.Ignore
|
|
43
|
-
WlrLayershell.namespace:
|
|
47
|
+
WlrLayershell.namespace: root.layerNamespace
|
|
44
48
|
WlrLayershell.layer: WlrLayer.Overlay
|
|
45
49
|
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
|
|
46
50
|
|
|
@@ -77,7 +81,7 @@ Item {
|
|
|
77
81
|
ControlNode {
|
|
78
82
|
id: renderer
|
|
79
83
|
anchors.centerIn: parent
|
|
80
|
-
visible: root.service && root.rootControlId !== ""
|
|
84
|
+
visible: ZuiTheme.Fonts.ready && root.service && root.rootControlId !== ""
|
|
81
85
|
bridge: root.service
|
|
82
86
|
surfaceName: root.surfaceName
|
|
83
87
|
controlId: root.rootControlId
|
|
@@ -94,7 +98,7 @@ Item {
|
|
|
94
98
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
95
99
|
text: root.service && root.service.lastError !== ""
|
|
96
100
|
? root.service.lastError
|
|
97
|
-
: "Starting Ruby UI…"
|
|
101
|
+
: (ZuiTheme.Fonts.failed ? "Omarchy UI could not load Zui's bundled fonts" : "Starting Ruby UI…")
|
|
98
102
|
color: Color.foreground
|
|
99
103
|
font.family: Style.font.family
|
|
100
104
|
font.pixelSize: Style.font.body
|