publish: the public projection begins here
This is a projection, not a development branch. The tree above was constructed from the internal source named below under a manifest that decides which paths may leave, then scanned as a whole tree rather than as a series of patches, and only then published. Public history starts here because the history before it was not admissible, and neither was the tree. What used to stand in this repository included a rescue copy of another machine, a directory of phone handoffs, deployment wired to one house, and a submodule pointing at a forge no stranger can reach. None of that was ever the product. It stays in the private forge, which is allowed to hold the whole working organism, and this is what was deliberately sent out instead. Three mechanisms produced this tree, in decreasing order of trust. A top-level path the manifest does not name never arrives at all, which is the one that catches directories nobody has thought of yet. Named internal files inside admitted roots are dropped. A short, reviewed table replaces deployment defaults that a public build must not carry -- an endpoint aimed at one LAN, a VPN profile belonging to one phone, packaging built from one checkout path. Everything after this commit is an ordinary publication with the same three trailers, so a force push stops being routine and starts meaning that something deliberate happened. The trailers bind the projection to its source without pretending the public SHA is the private one: same lineage, different tree, and the record says so. Source-Sha: 8f27b1e76a8fef560a336aba18e6990713ff1047 Policy-Sha: 6b261d2f3e6e1fb19874846ba4bb1dfe15565d25b8618c1c1afba0419c101d27 Tree-Digest: 18ec3563c5e5ef9a414993a9f6734b251ff9ed3cd56eebdd6cac01e45c6e3067
This commit is contained in:
commit
8f42fc953d
1476 changed files with 238455 additions and 0 deletions
|
|
@ -0,0 +1,59 @@
|
|||
// Pixel3Arch addition: stop the Waydroid session. Phone-only — waydroid is
|
||||
// installed on the phone and not on the laptop, so this lives in the overlay.
|
||||
// Deploy to modules/common/models/quickToggles/.
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import qs.services
|
||||
import qs.modules.common
|
||||
|
||||
/**
|
||||
* Terminate the Android container's session.
|
||||
*
|
||||
* `waydroidTerminate` sat in the phone's config with no component behind it in
|
||||
* any tree or commit — a configured verb that did nothing, silently.
|
||||
*/
|
||||
QuickToggleModel {
|
||||
id: root
|
||||
|
||||
/// True while a stop is in flight, so a double tap cannot race itself.
|
||||
property bool busy: false
|
||||
|
||||
name: Translation.tr("Stop Android")
|
||||
hasStatusText: false
|
||||
toggled: false
|
||||
icon: "android"
|
||||
|
||||
// Deliberate, and always pressable. There is deliberately NO status poll:
|
||||
// `waydroid status` talks to the container and can block for seconds, and
|
||||
// a button that greys itself out on a stale read is a verb the owner
|
||||
// cannot reach. Press it; it reports what actually happened.
|
||||
mainAction: () => {
|
||||
if (root.busy)
|
||||
return;
|
||||
root.busy = true;
|
||||
stopProc.running = true;
|
||||
}
|
||||
|
||||
Process {
|
||||
id: stopProc
|
||||
command: ["bash", "-c",
|
||||
"waydroid session stop >/dev/null 2>&1; "
|
||||
+ "waydroid status 2>/dev/null | grep -q 'Session:.*RUNNING' && echo running || echo stopped"]
|
||||
stdout: StdioCollector {
|
||||
id: stopResult
|
||||
onStreamFinished: {
|
||||
root.busy = false;
|
||||
const stillRunning = stopResult.text.trim() === "running";
|
||||
Quickshell.execDetached(["notify-send", Translation.tr("Android"),
|
||||
stillRunning
|
||||
? Translation.tr("Session did not stop.")
|
||||
: Translation.tr("Session stopped."),
|
||||
"-a", "Shell"]);
|
||||
}
|
||||
}
|
||||
onExited: root.busy = false
|
||||
}
|
||||
|
||||
tooltipText: Translation.tr("Stop the Waydroid session")
|
||||
}
|
||||
Loading…
Reference in a new issue