shell: fix starting shell

Don't silence shell output
Also use -c caelestia cause install to system
This commit is contained in:
2 * r + 2 * t
2025-06-15 15:49:07 +10:00
parent 8889378c1d
commit 7cfbd8a640
+2 -2
View File
@@ -22,10 +22,10 @@ class Command:
self.message(*self.args.message) self.message(*self.args.message)
else: else:
# Start the shell # Start the shell
self.shell() subprocess.Popen(["qs", "-c", "caelestia"]).wait()
def shell(self, *args: list[str]) -> str: def shell(self, *args: list[str]) -> str:
return subprocess.check_output(["qs", "-p", paths.c_data_dir / "shell", *args], text=True) return subprocess.check_output(["qs", "-c", "caelestia", *args], text=True)
def print_ipc(self) -> None: def print_ipc(self) -> None:
print(self.shell("ipc", "show"), end="") print(self.shell("ipc", "show"), end="")