summaryrefslogtreecommitdiff
path: root/src/caelestia/subcommands
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-22 19:12:28 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-22 19:12:28 +1000
commit13a2d46d082ba09eb4934cec092f6085134e58e0 (patch)
treebbb22da53a6ed2ce5fd1944739d16e052ba5b65a /src/caelestia/subcommands
parentcompletions: silence when no shell running (diff)
downloadcaelestia-cli-13a2d46d082ba09eb4934cec092f6085134e58e0.tar.gz
caelestia-cli-13a2d46d082ba09eb4934cec092f6085134e58e0.tar.bz2
caelestia-cli-13a2d46d082ba09eb4934cec092f6085134e58e0.zip
shell: remove default log rules
The spammy logs have been silenced
Diffstat (limited to 'src/caelestia/subcommands')
-rw-r--r--src/caelestia/subcommands/shell.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/caelestia/subcommands/shell.py b/src/caelestia/subcommands/shell.py
index effff3a..68a6821 100644
--- a/src/caelestia/subcommands/shell.py
+++ b/src/caelestia/subcommands/shell.py
@@ -22,7 +22,9 @@ class Command:
self.message(*self.args.message)
else:
# Start the shell
- args = ["qs", "-c", "caelestia", "-n", "--log-rules", self.args.log_rules]
+ args = ["qs", "-c", "caelestia", "-n"]
+ if self.args.log_rules:
+ args.append("--log-rules", self.args.log_rules)
if self.args.daemon:
args.append("-d")
subprocess.run(args)