feat: params in gui/tui
This commit is contained in:
17 files changed
+1341
-197
No files matched your search
@@ -9,6 +9,7 @@ Part of the [proxy-suite options reference](./index.md).
|
||||
- gui
|
||||
- [enable](#services-proxy-suite-gui-enable)
|
||||
- [autostart](#services-proxy-suite-gui-autostart)
|
||||
- [floating](#services-proxy-suite-gui-floating)
|
||||
- [refreshInterval](#services-proxy-suite-gui-refreshinterval)
|
||||
|
||||
<a id="services-proxy-suite-gui-enable"></a>
|
||||
@@ -27,6 +28,16 @@ Start the GUI in the tray on login to a graphical session\.
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-gui-floating"></a>
|
||||
## services\.proxy-suite\.gui\.floating
|
||||
|
||||
Open the window floating, sized to the screen, where a tiling compositor (niri, sway,
|
||||
Hyprland, i3) would tile it\. It opens at a fixed size, which those compositors float,
|
||||
then resizes as usual\. Turn off to let the compositor tile it\.
|
||||
|
||||
**Type:** boolean\
|
||||
**Default:** `true`
|
||||
|
||||
<a id="services-proxy-suite-gui-refreshinterval"></a>
|
||||
## services\.proxy-suite\.gui\.refreshInterval
|
||||
|
||||
|
||||
@@ -67,6 +67,7 @@ services.proxy-suite = {
|
||||
gui = {
|
||||
autostart = true;
|
||||
enable = false;
|
||||
floating = true;
|
||||
refreshInterval = 3;
|
||||
};
|
||||
inbounds = {
|
||||
|
||||
@@ -101,6 +101,21 @@ outbound, a subscription URL a subscription. An AmneziaWG `vpn://` link or a who
|
||||
becomes a global profile, or an outbound when pasted onto the Outbounds tab. See
|
||||
[Use an AmneziaWG config](./amneziawg.md).
|
||||
|
||||
Adding a rule, an outbound, a group, a listener or a user opens a form with one field per
|
||||
parameter. Optional fields are marked, and the values the field knows (outbounds, users,
|
||||
listeners, strategies) are offered: in the TUI, → completes one, and in the app, a list beside
|
||||
the field picks one. Less common flags sit under "More options". The command the form will run
|
||||
shows below it. In the TUI, tab moves between fields and enter or ctrl+s runs; in the app, Run
|
||||
stays off until nothing is missing.
|
||||
|
||||
Fields that take several values (a rule's domains and addresses, a group's members, a
|
||||
listener's users) are lists: each value sits on its own line, enter adds the one typed, and
|
||||
pasting several adds each. The same lists edit what is already there: one action opens a
|
||||
rule's matches, a group's members, a listener's users or a user's listeners as they are now.
|
||||
You add or take out values in one go, and what changes is marked before you run it. It runs as
|
||||
one command (`proxy rules matches <name> set`, `proxy groups members <tag> set`,
|
||||
`inbounds users on <tag>`, `inbounds users listeners <user>`), so the inbounds restart once.
|
||||
|
||||
## Commands
|
||||
|
||||
```sh
|
||||
|
||||
Reference in new issue
Block a user