Resume Cthulhu on empty i3 workspaces

This commit is contained in:
ak47 committed 2026-11-07 19:49:00 -05:00
1 parent 7752c4e566
commit d5f8a392cf
8 files changed
+191 -44

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ def inside():
result = subprocess.run(["i3", "--get-socketpath"], env=env, capture_output=True, text=True)
return result.returncode == 0 and Path(result.stdout.strip()).is_socket()
wait_for(ready, "private i3 did not start")
subprocess.run(["go", "test", "./internal/i3ipc", "-run", "^TestNativeI3Events$", "-count=1", "-v", "-timeout=30s"],
subprocess.run(["go", "test", "./internal/i3ipc", "-run", "^TestNativeI3(Events|EmptyWorkspaceFocus)$", "-count=1", "-v", "-timeout=30s"],
cwd=ROOT, env=dict(env, CTHULHU_NATIVE_I3="1"), check=True, timeout=60)
finally:
wm.terminate()