59 lines
2.7 KiB
XML
59 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<schemalist>
|
|
<schema id="org.gnome.shell.extensions.sing-box-status"
|
|
path="/org/gnome/shell/extensions/sing-box-status/">
|
|
<key name="api-url" type="s">
|
|
<default>'http://127.0.0.1:9090'</default>
|
|
<summary>Clash API base URL</summary>
|
|
<description>Base URL of the sing-box Clash API (experimental_clash_api.external_controller).</description>
|
|
</key>
|
|
<key name="api-secret" type="s">
|
|
<default>''</default>
|
|
<summary>Clash API secret</summary>
|
|
<description>Secret token for the Clash API (experimental_clash_api.secret). Sent as a Bearer token.</description>
|
|
</key>
|
|
<key name="dashboard-url" type="s">
|
|
<default>'http://127.0.0.1:9091'</default>
|
|
<summary>Dashboard URL</summary>
|
|
<description>URL opened by the "Open dashboard" menu item.</description>
|
|
</key>
|
|
<key name="refresh-interval" type="i">
|
|
<default>2</default>
|
|
<range min="1" max="30"/>
|
|
<summary>Refresh interval (seconds)</summary>
|
|
<description>How often to poll the Clash API.</description>
|
|
</key>
|
|
<key name="selector-group" type="s">
|
|
<default>''</default>
|
|
<summary>Outbound selector group shown in the panel</summary>
|
|
<description>Name of the Selector group whose current node is shown in the top bar. Empty means auto-detect the first Selector.</description>
|
|
</key>
|
|
<key name="show-outbound" type="b">
|
|
<default>true</default>
|
|
<summary>Show active outbound in the panel</summary>
|
|
<description>Show the name of the active outbound next to the speed.</description>
|
|
</key>
|
|
<key name="show-speed" type="b">
|
|
<default>true</default>
|
|
<summary>Show speed in the panel</summary>
|
|
<description>Show upload/download speed in the top bar.</description>
|
|
</key>
|
|
<key name="check-connectivity" type="b">
|
|
<default>false</default>
|
|
<summary>Periodically probe the active outbound</summary>
|
|
<description>When enabled, the extension periodically measures latency through the active outbound to distinguish "service up but no connectivity" from "service up and reachable".</description>
|
|
</key>
|
|
<key name="connectivity-interval" type="i">
|
|
<default>30</default>
|
|
<range min="5" max="600"/>
|
|
<summary>Connectivity probe interval (seconds)</summary>
|
|
<description>How often to probe the active outbound when connectivity checking is enabled.</description>
|
|
</key>
|
|
<key name="connectivity-url" type="s">
|
|
<default>'https://www.gstatic.com/generate_204'</default>
|
|
<summary>Connectivity probe URL</summary>
|
|
<description>Target URL used by the active-outbound latency probe.</description>
|
|
</key>
|
|
</schema>
|
|
</schemalist>
|