🐛 fix(notifications): ensure notification history consistency and ignore specific apps

This commit is contained in:
sankalp committed 2025-07-07 12:40:45 +05:45
1 parent 70dc0e97e2
commit 13290d38ba
7 files changed
+172 -61

No files matched your search

+2 -3
View File
@@ -41,12 +41,11 @@ DOCK_THEME = "Pills"
def load_config():
"""Load the configuration from config.json"""
config_path = os.path.expanduser(f"~/{APP_NAME_CAP}/config/assets/config.json")
config = {}
if os.path.exists(config_path):
if os.path.exists(CONFIG_FILE):
try:
with open(config_path, "r") as f:
with open(CONFIG_FILE, "r") as f:
config = json.load(f)
except Exception as e:
print(f"Error loading config: {e}")