You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Connect with soju](../../guides/connect-with-soju.md)
@@ -174,7 +176,7 @@ realname = ""
174
176
175
177
### server
176
178
177
-
The server to connect to. Should not contain the protocol, port, username, or password (i.e. should look like `"irc.libera.chat"` not `"ircs://irc.libera.chat:6697"`).
179
+
The server to connect to. Should not contain the protocol, port, username, or password (i.e. should look like `"irc.libera.chat"` not `"ircs://irc.libera.chat:6697"`).
178
180
179
181
```toml
180
182
# Type: string
@@ -276,6 +278,31 @@ A mapping of channel names to keys (passwords) for join-on-connect.
276
278
channel_keys = { "#foo" = "password" }
277
279
```
278
280
281
+
### order_channels_by
282
+
283
+
Ordering for channels listed in the sidebar for the current server.
284
+
285
+
-`"name"`: Sort channels by name only, ignoring chantypes (channel prefixes, e.g., `#` and `##`).
286
+
-`"name-and-prefix"`: Sort channels by name including their chantypes.
287
+
-`"config"`: Sort channels in the order they appear in your server's `channels`
288
+
list. Any channels not in the list appear last, using default (`"name"`) sort.
289
+
290
+
291
+
If not set, the value will be taken from the sidebar config: [order_channels_by](../sidebar/#order_channels_by).
292
+
293
+
```toml
294
+
# Type: string
295
+
# Values: "name", "name-and-prefix", "config"
296
+
# Default: "name"
297
+
298
+
[servers.<name>]
299
+
order_channels_by = "config"
300
+
301
+
# Example: When using "config", channels appear in this exact order:
302
+
channels = ["#rust", "#halloy", "#halloy-test"]
303
+
# Result: #rust → #halloy → #halloy-test → (any other channels are sorted by "name")
304
+
```
305
+
279
306
### queries
280
307
281
308
A list of queries to add to the sidebar on connection.
The time (in milliseconds) between sending messages to servers without SAFERATE. Timing is not strictly guaranteed; small groups of messages may be allowed to be sent at a faster rate, messages may be delayed in order to be batched, automated messages are included in the queue (most at a lower priority than user messages), etc.
451
+
The time (in milliseconds) between sending messages to servers without SAFERATE. Timing is not strictly guaranteed; small groups of messages may be allowed to be sent at a faster rate, messages may be delayed in order to be batched, automated messages are included in the queue (most at a lower priority than user messages), etc.
425
452
426
453
```toml
427
454
# Type: integer
@@ -492,9 +519,9 @@ Custom proxy for specified server
492
519
493
520
The logic is as follows:
494
521
495
-
* If a server proxy is provided, it will be used.
496
-
* If a server proxy is not provided, the global proxy will be used.
497
-
* If the global proxy is not provided, a plain connection will be used.
522
+
- If a server proxy is provided, it will be used.
523
+
- If a server proxy is not provided, the global proxy will be used.
524
+
- If the global proxy is not provided, a plain connection will be used.
498
525
499
526
The configuration syntax and supported proxy types are similar to the global [Proxy](../proxy/) but associated with the current `servers.<name>`:
Whether and where to confirm delivery of sent messages, if the server supports [`echo-message`](https://ircv3.net/specs/extensions/echo-message)
547
574
548
575
[^1]: Windows path strings should usually be specified as literal strings (e.g. `'C:\Users\Default\'`), otherwise directory separators will need to be escaped (e.g. `"C:\\Users\\Default\\"`).
576
+
549
577
[^2]: Relative paths are prefixed with the config directory (i.e. if you have your config.toml in `/home/me/.config/halloy/config.toml`, path `.passwd/libera` will be converted to `/home/me/.config/halloy/.passwd/libera`).
0 commit comments