summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-15 15:49:07 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-15 15:49:07 +1000
commit7cfbd8a6409c7714dec4a3c0974b7abd336155bf (patch)
treee30e14b9aa0afbd0dab9084e1238ba09cd08c8f8 /src
parentwallpaper: fix print opt (diff)
downloadcaelestia-cli-7cfbd8a6409c7714dec4a3c0974b7abd336155bf.tar.gz
caelestia-cli-7cfbd8a6409c7714dec4a3c0974b7abd336155bf.tar.bz2
caelestia-cli-7cfbd8a6409c7714dec4a3c0974b7abd336155bf.zip
shell: fix starting shell
Don't silence shell output Also use -c caelestia cause install to system
Diffstat (limited to '')
-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="")