Commit 481cec0078
Unregistered key
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 |
| 152 | An optional string set to one of the protocol types: | 152 | An 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 , |
| 155 | and | ||
| 155 | .Dq Sy halfblocks . | 156 | .Dq Sy halfblocks . |
| 156 | .It Sy font_size | 157 | .It Sy font_size |
| 157 | An optional list of two numbers representing font width and height in pixels. | 158 | An optional list of two numbers representing font width and height in pixels. |
| @@ -177,6 +178,12 @@ to disable automatically deleting log files. | |||
| 177 | Defaults to | 178 | Defaults to |
| 178 | .Sy 7 . | 179 | .Sy 7 . |
| 179 | 180 | ||
| 181 | .It Sy mouse | ||
| 182 | Enable mouse support | ||
| 183 | See | ||
| 184 | .Sx MOUSE | ||
| 185 | for more details. | ||
| 186 | |||
| 180 | .It Sy message_shortcode_display | 187 | .It Sy message_shortcode_display |
| 181 | Defines whether or not Emoji characters in messages should be replaced by their | 188 | Defines whether or not Emoji characters in messages should be replaced by their |
| 182 | respective shortcodes. | 189 | respective shortcodes. |
| @@ -241,7 +248,8 @@ for details on the format. | |||
| 241 | Defines how usernames are shown for message senders. | 248 | Defines how usernames are shown for message senders. |
| 242 | Possible values are | 249 | Possible values are |
| 243 | .Dq Sy username , | 250 | .Dq Sy username , |
| 244 | .Dq Sy localpart , or | 251 | .Dq Sy localpart , |
| 252 | or | ||
| 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 | |||
| 268 | request_timeout = 120 | 276 | request_timeout = 120 |
| 269 | .Ed | 277 | .Ed |
| 270 | 278 | ||
| 279 | .Sh MOUSE | ||
| 280 | |||
| 281 | The | ||
| 282 | .Sy settings.mouse | ||
| 283 | subsection allows enabling mouse support. | ||
| 284 | Currently the only difference is that scrolling moves the window view instead of changing the selection. | ||
| 285 | |||
| 286 | The available fields in this subsection are: | ||
| 287 | .Bl -tag -width Ds | ||
| 288 | .It Sy enabled | ||
| 289 | Defaults to | ||
| 290 | .Sy false . | ||
| 291 | Setting this field to | ||
| 292 | .Sy true | ||
| 293 | enables mouse support. | ||
| 294 | |||
| 271 | .Sh NOTIFICATIONS | 295 | .Sh NOTIFICATIONS |
| 272 | 296 | ||
| 273 | The | 297 | The |
| @@ -299,19 +323,30 @@ controls whether to show the message in the desktop notification, and defaults t | |||
| 299 | Messages are truncated beyond a small length. | 323 | Messages are truncated beyond a small length. |
| 300 | The notification rules are stored server side, loaded once at startup, and are currently not configurable in iamb. | 324 | The notification rules are stored server side, loaded once at startup, and are currently not configurable in iamb. |
| 301 | In other words, you can simply change the rules with another client. | 325 | In other words, you can simply change the rules with another client. |
| 326 | |||
| 327 | .It Sy sound_hint | ||
| 328 | Controls 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] |
| 307 | notifications = {} | 334 | enabled = 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] |
| 339 | enabled = true | ||
| 312 | via = "bell" | 340 | via = "bell" |
| 313 | show_message = false | 341 | show_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] | ||
| 346 | enabled = true | ||
| 347 | sound_hint = "message-new-instant" # Linux | ||
| 348 | sound_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 | 415 | Add a |
| 416 | .Dq Sy ~ | ||
| 417 | in 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] |
| 383 | members = ["server", "localpart"] | 422 | members = ["server", "~localpart"] |
| 384 | .Ed | 423 | .Ed |
| 385 | 424 | ||
| 386 | .Sh "USER OVERRIDES" | 425 | .Sh "USER OVERRIDES" |