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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b39c650e3541f41aea662dccf79373f790cc9fc84466b065ccb7b8836d74739e
4
- data.tar.gz: 985d17d6917e19b2fc10996d7f20d8a99e6dd49bb5160a88aa7122220056e025
3
+ metadata.gz: 3fbf5b96c9328c174f2b4f23eaa0d77c94abef05b7248e8c8dfe3c9faccb8295
4
+ data.tar.gz: 3e132767616cad3a67a1422dbb37797f9f7d82a2f3e4230aaf46e036c73a11d2
5
5
  SHA512:
6
- metadata.gz: cfa24ef79ecfdffcb0e00c4243b26600a4df4e2b4cf197aad307bceef54011631c482a15d055b2c88710acda2e8baceba0ebec1106ae2c290850016ea70793b9
7
- data.tar.gz: bf1ed984d03aea86c9db37cdd3dc1556faad23d23fef443d81669770a3e7431e87aa8632932794be1ad820117a98181990764c6401cb3de44513b9cc07d8e768
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 : "Starting Ruby UI…"
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: "omarchy-ruby-ui-poc"
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