Commit 481cec0078

481cec00789ea6c4ad80cf6b6521436264751d12

parent: 29ddc963d0

Unregistered key

vaw <git@nlih.de> · 2026-04-17 01:16 UTC
committer: <noreply@github.com>

Add several missing options to the `iamb(5)` manual page (#580)

Layout: unified · split

docs/iamb.5 +45 −6
@@ -151,7 +151,8 @@ An optional object to override settings that will normally be guessed automatica
151.It Sy type 151.It Sy type
152An optional string set to one of the protocol types: 152An optional string set to one of the protocol types:
153.Dq Sy sixel , 153.Dq Sy sixel ,
154.Dq Sy kitty , and 154.Dq Sy kitty ,
155and
155.Dq Sy halfblocks . 156.Dq Sy halfblocks .
156.It Sy font_size 157.It Sy font_size
157An optional list of two numbers representing font width and height in pixels. 158An optional list of two numbers representing font width and height in pixels.
@@ -177,6 +178,12 @@ to disable automatically deleting log files.
177Defaults to 178Defaults to
178.Sy 7 . 179.Sy 7 .
179 180
181.It Sy mouse
182Enable mouse support
183See
184.Sx MOUSE
185for more details.
186
180.It Sy message_shortcode_display 187.It Sy message_shortcode_display
181Defines whether or not Emoji characters in messages should be replaced by their 188Defines whether or not Emoji characters in messages should be replaced by their
182respective shortcodes. 189respective shortcodes.
@@ -241,7 +248,8 @@ for details on the format.
241Defines how usernames are shown for message senders. 248Defines how usernames are shown for message senders.
242Possible values are 249Possible values are
243.Dq Sy username , 250.Dq Sy username ,
244.Dq Sy localpart , or 251.Dq Sy localpart ,
252or
245.Dq Sy displayname . 253.Dq Sy displayname .
246 254
247.It Sy user_gutter_width 255.It Sy user_gutter_width
@@ -268,6 +276,22 @@ reaction_shortcode_display = true
268request_timeout = 120 276request_timeout = 120
269.Ed 277.Ed
270 278
279.Sh MOUSE
280
281The
282.Sy settings.mouse
283subsection allows enabling mouse support.
284Currently the only difference is that scrolling moves the window view instead of changing the selection.
285
286The available fields in this subsection are:
287.Bl -tag -width Ds
288.It Sy enabled
289Defaults to
290.Sy false .
291Setting this field to
292.Sy true
293enables mouse support.
294
271.Sh NOTIFICATIONS 295.Sh NOTIFICATIONS
272 296
273The 297The
@@ -299,19 +323,30 @@ controls whether to show the message in the desktop notification, and defaults t
299Messages are truncated beyond a small length. 323Messages are truncated beyond a small length.
300The notification rules are stored server side, loaded once at startup, and are currently not configurable in iamb. 324The notification rules are stored server side, loaded once at startup, and are currently not configurable in iamb.
301In other words, you can simply change the rules with another client. 325In other words, you can simply change the rules with another client.
326
327.It Sy sound_hint
328Controls the notification sound name that is passed as a hint to the notification daemon.
302.El 329.El
303 330
304.Ss Example 1: Enable notifications with default options 331.Ss Example 1: Enable notifications with default options
305.Bd -literal -offset indent 332.Bd -literal -offset indent
306[settings] 333[settings.notifications]
307notifications = {} 334enabled = true
308.Ed 335.Ed
309.Ss Example 2: Enable notifications using terminal bell 336.Ss Example 2: Enable notifications using terminal bell
310.Bd -literal -offset indent 337.Bd -literal -offset indent
311[settings.notifications] 338[settings.notifications]
339enabled = true
312via = "bell" 340via = "bell"
313show_message = false 341show_message = false
314.Ed 342.Ed
343.Ss Example 3: Enable notifications using the instant message sound
344.Bd -literal -offset indent
345[settings.notifications]
346enabled = true
347sound_hint = "message-new-instant" # Linux
348sound_hint = "IM" # Windows
349.Ed
315 350
316.Sh "SORTING LISTS" 351.Sh "SORTING LISTS"
317 352
@@ -377,10 +412,14 @@ Put invites before other rooms.
377.El 412.El
378.El 413.El
379 414
380.Ss Example 1: Group room members by their server first 415Add a
416.Dq Sy ~
417in front of any value to flip the order.
418
419.Ss Example 1: Group room members by their server first and descending localpart second
381.Bd -literal -offset indent 420.Bd -literal -offset indent
382[settings.sort] 421[settings.sort]
383members = ["server", "localpart"] 422members = ["server", "~localpart"]
384.Ed 423.Ed
385 424
386.Sh "USER OVERRIDES" 425.Sh "USER OVERRIDES"