Add an option to disable tray notifications
This commit is contained in:
1 parent
bfd3893921
commit
4100ae5661
3 files changed
+21
No files matched your search
@@ -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")
|
||||
|
||||
|
||||
Reference in new issue
Block a user