aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-24 09:32:29 +0200
committerDanilo M. <danix@danix.xyz>2026-10-24 09:32:29 +0200
commitc889501587db1d6ddf9440c002a1efc37444e1ca (patch)
tree1c8b7d9b5c1e03f35c2bc98bb4351173ce005176 /AGENTS.md
parentda9faa9db8fbf813d815d30fc8d590a034704ead (diff)
downloadquickshell-c889501587db1d6ddf9440c002a1efc37444e1ca.tar.gz
quickshell-c889501587db1d6ddf9440c002a1efc37444e1ca.zip
ipc: show() is open(), the CLI could never reach it
qs ipc has a show subcommand, and its parser takes the word wherever it appears: `qs -p <dir> ipc call companion show` printed the target list and exited 0 instead of calling the function. The companion, window switcher and keybind reminder each had a show() no command line could call. The binds use toggle and are unaffected. open() matches the drawer's own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index faf6b18..cefaf5b 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -546,6 +546,11 @@ back.
`qs -p <dir>` runs one directly. `qs -p <dir> ipc call <target> <fn>` reaches a
running one, which is how `SUPER+v` opens the VM drawer.
+An `IpcHandler` function named after a `qs ipc` subcommand (`show`, `call`,
+`wait`, `listen`, `prop`) cannot be called from the CLI: `ipc call companion
+show` runs `ipc show` instead, prints the target list and exits 0. Three
+handlers had a `show()` nobody could reach; they are `open()` now.
+
## Conventions
- GPLv2 only, with the header notice in every source file.