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 | 151 | .It Sy type |
| 152 | 152 | An optional string set to one of the protocol types: |
| 153 | 153 | .Dq Sy sixel , |
| 154 | .Dq Sy kitty , and | |
| 154 | .Dq Sy kitty , | |
| 155 | and | |
| 155 | 156 | .Dq Sy halfblocks . |
| 156 | 157 | .It Sy font_size |
| 157 | 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 | 178 | Defaults to |
| 178 | 179 | .Sy 7 . |
| 179 | 180 | |
| 181 | .It Sy mouse | |
| 182 | Enable mouse support | |
| 183 | See | |
| 184 | .Sx MOUSE | |
| 185 | for more details. | |
| 186 | ||
| 180 | 187 | .It Sy message_shortcode_display |
| 181 | 188 | Defines whether or not Emoji characters in messages should be replaced by their |
| 182 | 189 | respective shortcodes. |
| @@ -241,7 +248,8 @@ for details on the format. | ||
| 241 | 248 | Defines how usernames are shown for message senders. |
| 242 | 249 | Possible values are |
| 243 | 250 | .Dq Sy username , |
| 244 | .Dq Sy localpart , or | |
| 251 | .Dq Sy localpart , | |
| 252 | or | |
| 245 | 253 | .Dq Sy displayname . |
| 246 | 254 | |
| 247 | 255 | .It Sy user_gutter_width |
| @@ -268,6 +276,22 @@ reaction_shortcode_display = true | ||
| 268 | 276 | request_timeout = 120 |
| 269 | 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 | 295 | .Sh NOTIFICATIONS |
| 272 | 296 | |
| 273 | 297 | The |
| @@ -299,19 +323,30 @@ controls whether to show the message in the desktop notification, and defaults t | ||
| 299 | 323 | Messages are truncated beyond a small length. |
| 300 | 324 | The notification rules are stored server side, loaded once at startup, and are currently not configurable in iamb. |
| 301 | 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 | 329 | .El |
| 303 | 330 | |
| 304 | 331 | .Ss Example 1: Enable notifications with default options |
| 305 | 332 | .Bd -literal -offset indent |
| 306 | [settings] | |
| 307 | notifications = {} | |
| 333 | [settings.notifications] | |
| 334 | enabled = true | |
| 308 | 335 | .Ed |
| 309 | 336 | .Ss Example 2: Enable notifications using terminal bell |
| 310 | 337 | .Bd -literal -offset indent |
| 311 | 338 | [settings.notifications] |
| 339 | enabled = true | |
| 312 | 340 | via = "bell" |
| 313 | 341 | show_message = false |
| 314 | 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 | 351 | .Sh "SORTING LISTS" |
| 317 | 352 | |
| @@ -377,10 +412,14 @@ Put invites before other rooms. | ||
| 377 | 412 | .El |
| 378 | 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 | 420 | .Bd -literal -offset indent |
| 382 | 421 | [settings.sort] |
| 383 | members = ["server", "localpart"] | |
| 422 | members = ["server", "~localpart"] | |
| 384 | 423 | .Ed |
| 385 | 424 | |
| 386 | 425 | .Sh "USER OVERRIDES" |