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
151151.It Sy type
152152An optional string set to one of the protocol types:
153153.Dq Sy sixel ,
154.Dq Sy kitty , and
154.Dq Sy kitty ,
155and
155156.Dq Sy halfblocks .
156157.It Sy font_size
157158An optional list of two numbers representing font width and height in pixels.
@@ -177,6 +178,12 @@ to disable automatically deleting log files.
177178Defaults to
178179.Sy 7 .
179180
181.It Sy mouse
182Enable mouse support
183See
184.Sx MOUSE
185for more details.
186
180187.It Sy message_shortcode_display
181188Defines whether or not Emoji characters in messages should be replaced by their
182189respective shortcodes.
@@ -241,7 +248,8 @@ for details on the format.
241248Defines how usernames are shown for message senders.
242249Possible values are
243250.Dq Sy username ,
244.Dq Sy localpart , or
251.Dq Sy localpart ,
252or
245253.Dq Sy displayname .
246254
247255.It Sy user_gutter_width
@@ -268,6 +276,22 @@ reaction_shortcode_display = true
268276request_timeout = 120
269277.Ed
270278
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
271295.Sh NOTIFICATIONS
272296
273297The
@@ -299,19 +323,30 @@ controls whether to show the message in the desktop notification, and defaults t
299323Messages are truncated beyond a small length.
300324The notification rules are stored server side, loaded once at startup, and are currently not configurable in iamb.
301325In 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.
302329.El
303330
304331.Ss Example 1: Enable notifications with default options
305332.Bd -literal -offset indent
306[settings]
307notifications = {}
333[settings.notifications]
334enabled = true
308335.Ed
309336.Ss Example 2: Enable notifications using terminal bell
310337.Bd -literal -offset indent
311338[settings.notifications]
339enabled = true
312340via = "bell"
313341show_message = false
314342.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
315350
316351.Sh "SORTING LISTS"
317352
@@ -377,10 +412,14 @@ Put invites before other rooms.
377412.El
378413.El
379414
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
381420.Bd -literal -offset indent
382421[settings.sort]
383members = ["server", "localpart"]
422members = ["server", "~localpart"]
384423.Ed
385424
386425.Sh "USER OVERRIDES"