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
135 lines
2.7 KiB
JSON
135 lines
2.7 KiB
JSON
{
|
|
"module": "i3",
|
|
"version": "0.1",
|
|
"class": "core",
|
|
"moved": true,
|
|
"capabilities": [
|
|
"package-manager"
|
|
],
|
|
"requires": [
|
|
"x11-display"
|
|
],
|
|
"claims": [
|
|
{
|
|
"name": "node-display-session",
|
|
"scope": "node",
|
|
"serves": [
|
|
"reload",
|
|
"workspaces",
|
|
"windows",
|
|
"open"
|
|
]
|
|
}
|
|
],
|
|
"invokes": [
|
|
"seat:mesh-hand-acts.hand-act"
|
|
],
|
|
"tools": [
|
|
"i3_focus",
|
|
"i3_move",
|
|
"i3_layout_save",
|
|
"i3_layout_restore",
|
|
"i3_exec",
|
|
"i3_kill",
|
|
"i3_bindings",
|
|
"i3_config_check",
|
|
"i3_marks",
|
|
"i3_scratchpad"
|
|
],
|
|
"items": [
|
|
{
|
|
"collection": "environment",
|
|
"name": "xdg-current-desktop",
|
|
"attributes": {
|
|
"kind": "variable",
|
|
"name": "XDG_CURRENT_DESKTOP"
|
|
},
|
|
"template": "files/env-xdg-current-desktop"
|
|
},
|
|
{
|
|
"collection": "environment",
|
|
"name": "xdg-session-desktop",
|
|
"attributes": {
|
|
"kind": "variable",
|
|
"name": "XDG_SESSION_DESKTOP"
|
|
},
|
|
"template": "files/env-xdg-session-desktop"
|
|
},
|
|
{
|
|
"collection": "shell:xinitrc:last",
|
|
"name": "xinitrc-last",
|
|
"template": "files/xinitrc-last"
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "package",
|
|
"type": "package",
|
|
"package": "i3-wm"
|
|
},
|
|
{
|
|
"id": "package-dex",
|
|
"type": "package",
|
|
"package": "dex"
|
|
},
|
|
{
|
|
"id": "package-xdg-utils",
|
|
"type": "package",
|
|
"package": "xdg-utils"
|
|
},
|
|
{
|
|
"id": "config-dir",
|
|
"type": "directory",
|
|
"path": "${machine:account-home}/.config/i3",
|
|
"owner": "${machine:account}",
|
|
"mode": "0755",
|
|
"unknown": "move-out",
|
|
"knows": ["scripts/"]
|
|
},
|
|
{
|
|
"id": "drop-ins",
|
|
"type": "directory",
|
|
"path": "${machine:account-home}/.config/i3/config.d",
|
|
"owner": "${machine:account}",
|
|
"mode": "0755",
|
|
"unknown": "move-out",
|
|
"knows": ["10-asus.conf", "20-g14.conf"]
|
|
},
|
|
{
|
|
"id": "config",
|
|
"type": "file",
|
|
"path": "${machine:account-home}/.config/i3/config",
|
|
"owner": "${machine:account}",
|
|
"mode": "0644",
|
|
"template": "files/config"
|
|
},
|
|
{
|
|
"id": "session",
|
|
"type": "file",
|
|
"path": "/etc/lemurs/wms/i3",
|
|
"mode": "0755",
|
|
"template": "files/wms/i3"
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/i3-tools",
|
|
"binary": "i3-tools",
|
|
"loads": [
|
|
"i3-tools"
|
|
]
|
|
},
|
|
{
|
|
"name": "files",
|
|
"kind": "archive",
|
|
"from": "files"
|
|
}
|
|
]
|
|
}
|
|
}
|