Implement iPhone and Apple Watch preferences (#53)

This commit is contained in:
2026-08-15 22:37:31 +02:00
parent 81886756a2
commit affdb55519
15 changed files with 1409 additions and 60 deletions

View File

@@ -32,6 +32,11 @@ clipboard_timeout_seconds = 45
# Optional; interactive frontends default to a two-minute inactivity lease.
[security]
inactivity_timeout_seconds = 120
biometric_unlock_enabled = false
# Optional iPhone appearance: "system", "light", or "dark".
[ui]
mobile_appearance = "system"
[git]
user_name = "Alice Example"
@@ -76,6 +81,11 @@ from 1 second through 24 hours. The storage crate owns deadline calculation and
relock; frontends report only genuine input events as user activity. Repaints,
timers, background refresh, and Git work never extend the lease.
`security.biometric_unlock_enabled` records only whether biometric unlock is
enabled; the GPG passphrase remains in protected system storage.
`ui.mobile_appearance` is shared, secret-free iPhone presentation state and
defaults to the system appearance.
Passwords, passphrases, tokens, credentials, private keys, and other secret
values are forbidden in TOML. Unknown fields are rejected. Parse errors never
echo the source line or value, so an accidentally supplied secret is not