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:
+10
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user