From e05aff39bfab390944470b7adafdb8d35cd22f56 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Sun, 12 Jul 2026 04:47:10 +0545 Subject: [PATCH] =?UTF-8?q?refactor:=20reformat=20environment=20variable?= =?UTF-8?q?=20assignment=20to=20use=20explicit=20multi=E2=80=91line=20tupl?= =?UTF-8?q?e=20syntax?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/start.py b/start.py index c911027..15fa3b2 100644 --- a/start.py +++ b/start.py @@ -8,12 +8,18 @@ if src_path not in sys.path: sys.path.insert(0, src_path) # App-capture library paths (built via meson in src/window/switcher/app-capture/builddir) -_app_capture_builddir = os.path.join(src_path, "window", "switcher", "app-capture", "builddir") +_app_capture_builddir = os.path.join( + src_path, "window", "switcher", "app-capture", "builddir" +) if os.path.isdir(_app_capture_builddir): for env_var in ("GI_TYPELIB_PATH", "LD_LIBRARY_PATH"): current = os.environ.get(env_var, "") if _app_capture_builddir not in current.split(os.pathsep): - os.environ[env_var] = f"{_app_capture_builddir}{os.pathsep}{current}" if current else _app_capture_builddir + os.environ[env_var] = ( + f"{_app_capture_builddir}{os.pathsep}{current}" + if current + else _app_capture_builddir + ) # Apply monkey patch for hyprland lua dispatcher