Support loading a TOML configuration (#229)

This commit is contained in:
Ulyssa 2024-03-25 21:30:35 -07:00 committed by GitHub
parent 99996e275b
commit ed1b88c197
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 112 additions and 87 deletions

View file

@ -1,54 +0,0 @@
{
"default_profile": "default",
"profiles": {
"default": {
"user_id": "@user:matrix.org",
"url": "https://matrix.org",
"settings": {},
"dirs": {}
}
},
"settings": {
"log_level": "warn",
"message_shortcode_display": false,
"reaction_display": true,
"reaction_shortcode_display": false,
"read_receipt_send": true,
"read_receipt_display": true,
"request_timeout": 10000,
"typing_notice_send": true,
"typing_notice_display": true,
"users": {
"@user:matrix.org": {
"name": "John Doe",
"color": "magenta"
}
},
"default_room": "#iamb-users:0x.badd.cafe",
"image_preview": {
"protocol": {
"type": "sixel"
},
"size": {
"width": 66,
"height": 10
}
}
},
"layout": {
"style": "restore"
},
"macros": {
"n|v": {
"V": "<C-W>m"
},
"i": {
"jj": "<Esc>"
}
},
"dirs": {
"cache": "/home/user/.cache/iamb/",
"logs": "/home/user/.local/share/iamb/logs/",
"downloads": "/home/user/Downloads/"
}
}