Take one machine's fingerprints off everyone's desktop
The audit's second tier: values that were measurements of the author's desktop, shipped to every machine as if they were defaults. Settings greeted every human as Gabriel; it now greets whoever accountsservice says is signed in, and nobody when it says nothing. The weather shipped his home coordinates and confidently reported his forecast anywhere on earth; it now ships unset, fetches nothing until a location is chosen, and the location row says so. The GTK bookmarks carried seven /home/gib paths and his file server into every file dialog; they are now generated per machine from a template and gitignored -- Nautilus edits the instance freely, the way settings.ini already worked one file over. Web search routed through his personal bang redirector; the engine is now the webSearchUrl preference with a DuckDuckGo default, read by both the script command and the suggestions extension, which the launcher-search contract already pins to one another. The GPU vitals path defaulted to his card1 and lost the readout on any machine enumerated differently; a machine with exactly one GPU now adopts it. And the Containers and Snapshots pages hide once a scan proves their backing stack absent, instead of rendering permanently empty on machines that never had podman or snapper. Lesser residue swept in the same pass: the DP-2 hyprpaper block one machine needed, the author's username-typo expansions (moved to his personal seed in user/, where personal content belongs), a capture fallback into /home/gib, and a parity table asserting one machine's hardware as fact. Claude-Session: https://claude.ai/code/session_01Epx9ZC1gwm81K3jm9x9CKh
This commit is contained in:
@@ -76,7 +76,7 @@ Singleton {
|
||||
property real coordinateScale: 1.0
|
||||
|
||||
// ── Paths ───────────────────────────────────────────────────────────────
|
||||
readonly property string _home: Quickshell.env("HOME") || "/home/gib"
|
||||
readonly property string _home: Quickshell.env("HOME") || ""
|
||||
|
||||
// Both folders are settings now rather than a choice of three, so both can
|
||||
// name somewhere outside home -- a second drive, a network mount. Prefixing
|
||||
|
||||
@@ -42,6 +42,13 @@ Singleton {
|
||||
const parsed = JSON.parse(this.text);
|
||||
root.devices = Array.isArray(parsed) ? parsed : [];
|
||||
root.lastError = "";
|
||||
// The shipped default is one machine's card index, and
|
||||
// card numbering means nothing across machines. When the
|
||||
// stored path is not present here and there is exactly
|
||||
// one real answer, adopt it -- a single-GPU laptop should
|
||||
// not lose its vitals readout to a desktop's enumeration.
|
||||
if (root.selectionMissing && root.devices.length === 1)
|
||||
root.select(root.devices[0].path);
|
||||
} catch (error) {
|
||||
root.devices = [];
|
||||
root.lastError = "The graphics devices could not be read.";
|
||||
|
||||
@@ -54,7 +54,8 @@ Singleton {
|
||||
"weather": "home",
|
||||
"notifications": "notifications",
|
||||
"capture": "screen-intelligence",
|
||||
"gaming": "gaming"
|
||||
"gaming": "gaming",
|
||||
"search": "applications"
|
||||
})
|
||||
|
||||
// Settings that are real but have no schema entry, because the system owns
|
||||
|
||||
@@ -59,7 +59,15 @@ Singleton {
|
||||
}
|
||||
}
|
||||
|
||||
// Nothing was chosen yet: fetch nothing, claim nothing. The card offers
|
||||
// the location picker instead.
|
||||
readonly property bool configured: Settings.weatherLocation !== ""
|
||||
|
||||
function refresh(): void {
|
||||
if (!root.configured) {
|
||||
root.available = false;
|
||||
return;
|
||||
}
|
||||
// Skip if the previous fetch is somehow still in flight.
|
||||
if (!fetch.running)
|
||||
fetch.running = true;
|
||||
|
||||
Reference in New Issue
Block a user