From 23c21293e5f54365a9b507ec30e8045d8ec8e0b2 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Mon, 17 Feb 2025 21:53:53 +0545 Subject: [PATCH] updates --- config/scripts/wallpaper.py | 2 +- modules/launcher/components/wallpapers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/scripts/wallpaper.py b/config/scripts/wallpaper.py index 02c8403..6651fb6 100644 --- a/config/scripts/wallpaper.py +++ b/config/scripts/wallpaper.py @@ -96,7 +96,7 @@ status = args.status HOME = os.path.expanduser("~") -module_path = get_relative_path("./material-colors") +module_path = get_relative_path("../material-colors") sys.path.append(module_path) module_name = "generate" diff --git a/modules/launcher/components/wallpapers.py b/modules/launcher/components/wallpapers.py index 869a6c7..2a3aa9c 100644 --- a/modules/launcher/components/wallpapers.py +++ b/modules/launcher/components/wallpapers.py @@ -179,7 +179,7 @@ class WallpaperSelector(Box): file_name = model[path][1] full_path = os.path.join(WALLPAPERS_DIR, file_name) selected_scheme = self.scheme_dropdown.get_active_id() - wallpaper = get_relative_path("../../../config/wallpaper.py") + wallpaper = get_relative_path("../../../config/scripts/wallpaper.py") command = f"python -O {wallpaper} -I {full_path}" GLib.spawn_command_line_async(command) self.update_scheme(selected_scheme)