Add GNOME Shell extension showing sing-box status via the Clash API
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<?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>
|
||||
</schema>
|
||||
</schemalist>
|
||||
Reference in New Issue
Block a user