summaryrefslogtreecommitdiff
path: root/src/caelestia/subcommands
diff options
context:
space:
mode:
Diffstat (limited to 'src/caelestia/subcommands')
-rw-r--r--src/caelestia/subcommands/shell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/caelestia/subcommands/shell.py b/src/caelestia/subcommands/shell.py
index 25a39d8..ef7fbab 100644
--- a/src/caelestia/subcommands/shell.py
+++ b/src/caelestia/subcommands/shell.py
@@ -22,10 +22,10 @@ class Command:
self.message(*self.args.message)
else:
# Start the shell
- self.shell()
+ subprocess.Popen(["qs", "-c", "caelestia"]).wait()
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:
print(self.shell("ipc", "show"), end="")