docs/example_config.json

54 lines · 1076 bytes

 1{
 2	"default_profile": "default",
 3	"profiles": {
 4		"default": {
 5			"user_id":  "@user:matrix.org",
 6			"url":      "https://matrix.org",
 7			"settings": {},
 8			"dirs":     {}
 9		}
10	},
11	"settings": {
12		"log_level":                  "warn",
13		"message_shortcode_display":  false,
14		"reaction_display":           true,
15		"reaction_shortcode_display": false,
16		"read_receipt_send":          true,
17		"read_receipt_display":       true,
18		"request_timeout":            10000,
19		"typing_notice_send":         true,
20		"typing_notice_display":      true,
21		"users": {
22			"@user:matrix.org": {
23				"name":  "John Doe",
24				"color": "magenta"
25			}
26		},
27		"default_room": "#iamb-users:0x.badd.cafe",
28		"image_preview": {
29			"protocol": {
30				"type": "sixel"
31			},
32			"size": {
33				"width": 66,
34				"height": 10
35			}
36		}
37	},
38	"layout": {
39		"style": "restore"
40	},
41	"macros": {
42		"n|v": {
43			"V": "<C-W>m"
44		},
45		"i": {
46			"jj": "<Esc>"
47		}
48	},
49	"dirs": {
50		"cache":     "/home/user/.cache/iamb/",
51		"logs":      "/home/user/.local/share/iamb/logs/",
52		"downloads": "/home/user/Downloads/"
53	}
54}