Add an option to disable tray notifications

This commit is contained in:
DevilXD committed 2023-02-19 13:16:27 +01:00
1 parent bfd3893921
commit 4100ae5661
3 files changed
+21

No files matched your search

+3
View File
@@ -19,6 +19,7 @@ class SettingsFile(TypedDict):
priority: list[str]
priority_only: bool
autostart_tray: bool
tray_notifications: bool
default_settings: SettingsFile = {
@@ -29,6 +30,7 @@ default_settings: SettingsFile = {
"priority_only": True,
"autostart_tray": False,
"language": DEFAULT_LANG,
"tray_notifications": True,
}
@@ -49,6 +51,7 @@ class Settings:
priority: list[str]
priority_only: bool
autostart_tray: bool
tray_notifications: bool
PASSTHROUGH = ("_settings", "_args", "_altered")