Files
regent/data/org.kosmos.raucao.Regent.gschema.xml.in
raucao b42f9b925a
CI / test (pull_request) Failing after 2m31s
CI / test (push) Failing after 2m41s
chore: fix the clippy gate, guard the vault version, add CI (I3)
2026-11-30 10:31:00 +04:00

46 lines
3.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="regent">
<schema id="@appid@" path="@apppath@">
<key name="current-identity" type="s">
<default>''</default>
<summary>Current identity</summary>
<description>The identity key selected in the UI, as hex. It scopes the Apps and Activity pages and is the default identity for new pairings. Empty means the first stored key.</description>
</key>
<key name="auto-approve-limit" type="i">
<default>30</default>
<summary>Auto-approval rate limit</summary>
<description>How many requests per minute a stored "allow always" permission may answer without asking, per application. Once an application exceeds it Regent asks again, so a runaway client turns back into prompts instead of an unbounded silent stream. Zero means never answer silently.</description>
</key>
<key name="lock-timeout" type="i">
<default>900</default>
<summary>Auto-lock timeout</summary>
<description>How long the key vault stays open after it is unlocked, in seconds. Zero means never lock automatically. This is a hard timeout measured from the unlock, not an idle timer: request traffic must not extend it, or a chatty client would hold the vault open forever.</description>
</key>
<key name="load-app-icons" type="b">
<default>true</default>
<summary>Load application icons</summary>
<description>Fetch and show the icon an application declares in its pairing metadata, from the application's own server. While this is on, the icon is also fetched during pairing, before you approve the application, so the dialog can show it. Turning this off stops all icon fetches and leaves the initials in place.</description>
</key>
<key name="close-action" type="s">
<default>'ask'</default>
<summary>What closing the window does</summary>
<description>What happens when the main window is closed while the signer is listening: 'ask' shows a dialog, 'background' keeps Regent running so it can answer requests, 'quit' ends the application. Only offered while the signer runs; with no key, or a stopped signer, closing quits.</description>
</key>
<key name="show-tray-icon" type="b">
<default>true</default>
<summary>Show a status icon</summary>
<description>Show a StatusNotifierItem/AppIndicator status icon while Regent runs, with Show/Hide and Quit. Stock GNOME needs the AppIndicator extension to display it; on most other desktops it is native.</description>
</key>
<key name="autostart" type="b">
<default>false</default>
<summary>Start at login</summary>
<description>Register Regent with the desktop's background portal so it starts at login, hidden, and can answer requests. Uses org.freedesktop.portal.Background; on GNOME this also lists Regent under Background Apps.</description>
</key>
<key name="relays" type="as">
<default>['wss://nostr.kosmos.org']</default>
<summary>Relays</summary>
<description>Relays Regent connects to for NIP-46 requests and responses. Many public relays reject or rate-limit kind:24133, so the default is a relay that accepts them.</description>
</key>
</schema>
</schemalist>