You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 514b4cb
Browse filesBrowse the repository at this point in the historyBrowse files
omamobile-shell 0.2.157: the bar's Bluetooth item opens quick settings' Bluetooth panel
Omarchy's Bluetooth card neither makes the phone visible nor shows the code a pairing asks to confirm, so a car or headset couldn't be paired from the bar. The bar now opens the same panel as the Bluetooth tile's chevron, so the phone has one Bluetooth screen.
Copy file name to clipboardExpand all lines: packages/omamobile-shell/plugins/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,11 +65,11 @@ on an empty part does nothing:
65
65
| --- | --- |
66
66
| Battery | Omarchy's own power panel (`plugins/panels/power/Panel.qml` from `OMARCHY_PATH`) |
67
67
| Wi-Fi or Ethernet | Omarchy's network panel (`plugins/panels/network`) |
68
-
| Bluetooth |Omarchy's Bluetooth panel (`plugins/panels/bluetooth`)|
68
+
| Bluetooth |Quick settings' Bluetooth panel, as its tile's chevron opens it: it makes the phone visible while open and shows a pairing's code, which Omarchy's card doesn't|
69
69
| Cellular signal |`CellularPanel.qml`: the carrier, its state, a mobile data switch (`omamobile-sit data on/off`), the signal and whether calls, texts and mobile data work |
70
70
| Clock |`TimePanel.qml`: the day, the date, the time and the time zone |
71
71
72
-
Omarchy's three panels are loaded unchanged and unseen; only their popups
72
+
Omarchy's two panels are loaded unchanged and unseen; only their popups
73
73
show. Omarchy has no card for the clock that fits a phone's width and none for
74
74
a modem, so the two others are built from the same parts (`Panel`,
75
75
`KeyboardPanel`, `ToggleSwitch` and the label/value rows of the power card).
pass "touch navigation: back, home pill, drawer pull, undo, fields in view"
303
303
304
304
# The bar's cards: a tap on an item opens its card as a click does in Omarchy's
305
-
# bar (Omarchy's own power, network and Bluetooth panels, loaded unchanged;
306
-
# the time and mobile network cards built from Omarchy's panel parts), every
305
+
# bar (Omarchy's own power and network panels, loaded unchanged; quick
306
+
# settings' Bluetooth panel; the time and mobile network cards built from
307
+
# Omarchy's panel parts), every
307
308
# item is a click target so an open card hands a tap on another item to it,
308
309
# and only a pull opens quick settings.
309
310
b=plugins/omamobile.bar/Bar.qml
310
-
forpanelin power network bluetooth;do
311
+
forpanelin power network;do
311
312
grep -cF "\"/shell/plugins/panels/$panel/Panel.qml\"""$b">/dev/null || fail "the bar loads Omarchy's own $panel panel"
312
313
done
313
314
[[ $(grep -c 'Component.onCompleted: root.clickTargets = root.clickTargets.concat(\[this\])'"$b")== 5 ]] || fail "all five items are click targets of an open card"
314
315
[[ $(grep -c 'function triggerPress(button)'"$b")== 5 ]] || fail "a tap an open card hands on opens that item's card"
315
316
awk '/id: touch$/,/^ }$/'"$b"| grep -cF 'onClicked: if (!pulled && !root.cardsOnTap) root.toggleQuickSettings()'>/dev/null || fail "a tap on the strip toggles quick settings only with bar.cardsOnTap off"
316
317
grep -cF 'readonly property bool cardsOnTap: setting("cardsOnTap", false) === true'"$b">/dev/null || fail "the cards are behind bar.cardsOnTap, off by default"
317
-
[[ $(grep -c 'enabled: root.cardsOnTap'"$b")== 5 &&$(grep -c 'active: root.cardsOnTap'"$b")== 5 ]] || fail "with bar.cardsOnTap off no item takes a tap and no card is loaded"
318
+
[[ $(grep -c 'enabled: root.cardsOnTap'"$b")== 5 &&$(grep -c 'active: root.cardsOnTap'"$b")== 4 ]] || fail "with bar.cardsOnTap off no item takes a tap and no card is loaded"
319
+
grep -cF "panels/bluetooth/Panel.qml""$b">/dev/null && fail "the Bluetooth item opens quick settings' panel, not Omarchy's card"
320
+
grep -cF 'shell.summon(quickSettingsId, JSON.stringify({ source: "bar", page: "bluetooth" }))'"$b">/dev/null || fail "the Bluetooth item opens quick settings' Bluetooth panel"
318
321
awk '/id: touch$/,/^ }$/'"$b"| grep -c 'root.openQuickSettings()'>/dev/null || fail "a pull on the bar opens quick settings"
319
322
grep -cF 'sourceComponent: CellularPanel {'"$b">/dev/null || fail "the signal opens the mobile network card"
320
323
grep -cF 'sourceComponent: TimePanel {'"$b">/dev/null || fail "the clock opens the time card"
0 commit comments