import/export/reset settings

This commit is contained in:
dries.k
2022-04-04 15:44:46 +02:00
parent c591ebf09c
commit b622a0fe58
11 changed files with 252 additions and 80 deletions

View File

@@ -1,7 +1,16 @@
import os
from pathlib import Path
from ..__version__ import __title__
DEFAULT_SETTINGS = {
"message/check_missed/notify": True,
"message/last_id": 0,
"logging/level": "Disabled",
"settings/export_path": os.path.join(
Path.home(), f"{__title__.replace(' ', '-').lower()}-settings.bytes"
),
"shortcuts/quit": "Ctrl+Q",
"tray/notifications/priority": 5,
"tray/notifications/duration_ms": 5000,