added notification history plugins
This commit is contained in:
18 files changed
+651
-80
No files matched your search
+2
-2
@@ -28,7 +28,7 @@ CURRENT_HEIGHT = screen.get_height()
|
||||
|
||||
|
||||
WALLPAPERS_DIR_DEFAULT = get_relative_path("../assets/wallpapers_example")
|
||||
CONFIG_FILE = get_relative_path("../config/config.json")
|
||||
CONFIG_FILE = get_relative_path("../config/json/config.json")
|
||||
MATUGEN_STATE_FILE = os.path.join(CONFIG_DIR, "matugen")
|
||||
|
||||
WORKSPACE_NUMS = False
|
||||
@@ -40,7 +40,7 @@ DOCK_THEME = "Pills"
|
||||
|
||||
def load_config():
|
||||
"""Load the configuration from config.json"""
|
||||
config_path = os.path.expanduser(f"~/{APP_NAME_CAP}/config/config.json")
|
||||
config_path = os.path.expanduser(f"~/{APP_NAME_CAP}/config/json/config.json")
|
||||
config = {}
|
||||
|
||||
if os.path.exists(config_path):
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"pinned_apps": []
|
||||
}
|
||||
File renamed without changes.
@@ -109,6 +109,11 @@
|
||||
"otp": {
|
||||
"icon": "auth",
|
||||
"description": "Manage TOTP codes and 2FA authentication"
|
||||
},
|
||||
"notif": {
|
||||
"icon": "notifications",
|
||||
"description": "Notification History - Search and manage notification history",
|
||||
"examples": ["notif", "notif clear", "notif search term"]
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"newww": {
|
||||
"secret": "K3D4IHGVKQ2GQAJDCT7OSL4IS6PRTLXU",
|
||||
"issuer": "",
|
||||
"algorithm": "SHA1",
|
||||
"digits": 6,
|
||||
"period": 30
|
||||
},
|
||||
"n": {
|
||||
"secret": "K3D4IHGVKQ2GQAJDCT7OSL4IS6PRTLXU",
|
||||
"issuer": "",
|
||||
"algorithm": "SHA1",
|
||||
"digits": 6,
|
||||
"period": 30
|
||||
},
|
||||
"qq": {
|
||||
"secret": "K3D4IHGVKQ2GQAJDCT7OSL4IS6PRTLXU",
|
||||
"issuer": "",
|
||||
"algorithm": "SHA1",
|
||||
"digits": 6,
|
||||
"period": 30
|
||||
}
|
||||
}
|
||||
@@ -906,7 +906,9 @@ class HyprConfGUI(Window):
|
||||
start_time = time.time()
|
||||
print(f"{start_time:.4f}: Background task started.")
|
||||
|
||||
config_json = os.path.expanduser(f"~/{APP_NAME_CAP}/config/config.json")
|
||||
config_json = os.path.expanduser(
|
||||
f"~/{APP_NAME_CAP}/config/json/config.json"
|
||||
)
|
||||
os.makedirs(os.path.dirname(config_json), exist_ok=True)
|
||||
try:
|
||||
with open(config_json, "w") as f:
|
||||
|
||||
@@ -192,7 +192,7 @@ def load_bind_vars():
|
||||
# Usar .copy() para no modificar DEFAULTS accidentalmente
|
||||
bind_vars.update(settings_constants.DEFAULTS.copy())
|
||||
|
||||
config_json = os.path.expanduser(f"~/{APP_NAME_CAP}/config/config.json")
|
||||
config_json = os.path.expanduser(f"~/{APP_NAME_CAP}/config/json/config.json")
|
||||
if os.path.exists(config_json):
|
||||
try:
|
||||
with open(config_json, "r") as f:
|
||||
|
||||
Reference in new issue
Block a user