i3: serve node-display-session.open, percent-encoded and recorded as an act (issue 935)

node-display-session gains the verb open: an http or https address opened in the
session's default browser through xdg-mime and systemd-run --user, never i3's IPC
(which hands a shell a command line). The address is percent-encoded per RFC 3986's
unreserved set plus the separators a URL needs, as one argument; a refusal names the
reason (scheme, host, length, session, default program, the opener's own failure).
Each call that is acted on is written to the log of acts done by hand
(seat:mesh-hand-acts.hand-act), with its caller and why.

Builds: design 08 sign-in-page §3, §29
This commit is contained in:
jochen
2026-11-24 21:16:22 +01:00
parent 03bf70a22b
commit f7b918faea
6 changed files with 501 additions and 5 deletions
+10 -1
View File
@@ -16,10 +16,14 @@
"serves": [
"reload",
"workspaces",
"windows"
"windows",
"open"
]
}
],
"invokes": [
"seat:mesh-hand-acts.hand-act"
],
"tools": [
"i3_focus",
"i3_move",
@@ -68,6 +72,11 @@
"type": "package",
"package": "dex"
},
{
"id": "package-xdg-utils",
"type": "package",
"package": "xdg-utils"
},
{
"id": "config-dir",
"type": "directory",