updates
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -96,7 +96,7 @@ status = args.status
|
|||||||
|
|
||||||
HOME = os.path.expanduser("~")
|
HOME = os.path.expanduser("~")
|
||||||
|
|
||||||
module_path = get_relative_path("./material-colors")
|
module_path = get_relative_path("../material-colors")
|
||||||
sys.path.append(module_path)
|
sys.path.append(module_path)
|
||||||
|
|
||||||
module_name = "generate"
|
module_name = "generate"
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ class WallpaperSelector(Box):
|
|||||||
file_name = model[path][1]
|
file_name = model[path][1]
|
||||||
full_path = os.path.join(WALLPAPERS_DIR, file_name)
|
full_path = os.path.join(WALLPAPERS_DIR, file_name)
|
||||||
selected_scheme = self.scheme_dropdown.get_active_id()
|
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}"
|
command = f"python -O {wallpaper} -I {full_path}"
|
||||||
GLib.spawn_command_line_async(command)
|
GLib.spawn_command_line_async(command)
|
||||||
self.update_scheme(selected_scheme)
|
self.update_scheme(selected_scheme)
|
||||||
|
|||||||
Reference in new issue
Block a user