all: split reusable components into workspace crates
This commit is contained in:
parent
2a079ed800
commit
657e7ce2f7
225 changed files with 7422 additions and 17602 deletions
|
|
@ -754,42 +754,6 @@
|
|||
"clickfinger"
|
||||
]
|
||||
},
|
||||
"ClientCapabilities": {
|
||||
"description": "A mask of client capabilities.\n",
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "A named mask.",
|
||||
"enum": [
|
||||
"none",
|
||||
"all",
|
||||
"data-control",
|
||||
"virtual-keyboard",
|
||||
"foreign-toplevel-list",
|
||||
"idle-notifier",
|
||||
"session-lock",
|
||||
"layer-shell",
|
||||
"screencopy",
|
||||
"seat-manager",
|
||||
"drm-lease",
|
||||
"input-method",
|
||||
"workspace-manager",
|
||||
"foreign-toplevel-manager",
|
||||
"head-manager",
|
||||
"gamma-control-manager",
|
||||
"virtual-pointer"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"description": "An array of masks that are OR'd.",
|
||||
"items": {
|
||||
"description": "",
|
||||
"$ref": "#/$defs/ClientCapabilities"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"ClientMatch": {
|
||||
"description": "Criteria for matching clients.\n\nIf no fields are set, all clients are matched. If multiple fields are set, all fields\nmust match the client.\n",
|
||||
"type": "object",
|
||||
|
|
@ -877,14 +841,6 @@
|
|||
"exe-regex": {
|
||||
"type": "string",
|
||||
"description": "Matches the `/proc/pid/exe` of the client with a regular expression."
|
||||
},
|
||||
"tag": {
|
||||
"type": "string",
|
||||
"description": "Matches the tag of the client verbatim."
|
||||
},
|
||||
"tag-regex": {
|
||||
"type": "string",
|
||||
"description": "Matches the tag of the client with a regular expression."
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
|
|
@ -930,14 +886,6 @@
|
|||
"latch": {
|
||||
"description": "An action to execute when a client no longer matches the criteria.",
|
||||
"$ref": "#/$defs/Action"
|
||||
},
|
||||
"capabilities": {
|
||||
"description": "Sets the capabilities granted to clients matching this matcher.\n\nIf multiple matchers match a client, the capabilities are added.\n\nIf no matcher matches a client, it is granted the default capabilities depending\non whether it's sandboxed or not. If it is not sandboxed, it is granted the\ncapabilities `layer-shell` and `drm-lease`. Otherwise it is granted the\ncapability `drm-lease`.\n\nRegardless of any capabilities set through this function, the capabilities of the\nclient can never exceed its bounding capabilities.\n",
|
||||
"$ref": "#/$defs/ClientCapabilities"
|
||||
},
|
||||
"sandbox-bounding-capabilities": {
|
||||
"description": "Sets the upper capability bounds for clients in sandboxes created by this client.\n\nIf multiple matchers match a client, the capabilities are added.\n\nIf no matcher matches a client, the bounding capabilities for sandboxes depend on\nwhether the client is itself sandboxed. If it is sandboxed, the bounding\ncapabilities are the effective capabilities of the client. Otherwise the bounding\ncapabilities are all capabilities.\n\nRegardless of any capabilities set through this function, the capabilities set\nthrough this function can never exceed the client's bounding capabilities.\n",
|
||||
"$ref": "#/$defs/ClientCapabilities"
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
|
|
@ -1424,7 +1372,7 @@
|
|||
]
|
||||
},
|
||||
"Exec": {
|
||||
"description": "Describes how to execute a program.\n\n- Example 1:\n\n ```toml\n [shortcuts]\n ctrl-a = { type = \"exec\", exec = \"alacritty\" }\n ```\n\n- Example 2:\n\n ```toml\n [shortcuts]\n ctrl-a = { type = \"exec\", exec = [\"notify-send\", \"hello world\"] }\n ```\n\n- Example 3:\n\n ```toml\n [shortcuts]\n ctrl-a = { type = \"exec\", exec = { prog = \"notify-send\", args = [\"hello world\"], env.WAYLAND_DISPLAY = \"2\" } }\n ```\n\n- Example 4:\n\n ```toml\n [shortcuts]\n ctrl-a = { type = \"exec\", exec = { shell = \"grim - | wl-copy\", privileged = true } }\n ```\n",
|
||||
"description": "Describes how to execute a program.\n\n- Example 1:\n\n ```toml\n [shortcuts]\n ctrl-a = { type = \"exec\", exec = \"alacritty\" }\n ```\n\n- Example 2:\n\n ```toml\n [shortcuts]\n ctrl-a = { type = \"exec\", exec = [\"notify-send\", \"hello world\"] }\n ```\n\n- Example 3:\n\n ```toml\n [shortcuts]\n ctrl-a = { type = \"exec\", exec = { prog = \"notify-send\", args = [\"hello world\"], env.WAYLAND_DISPLAY = \"2\" } }\n ```\n",
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
|
|
@ -1439,7 +1387,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"description": "The name, arguments, and environment variables of the executable to execute.\n\nExactly one of the `prog` or `shell` fields must be specified.\n\n- Example 1:\n\n ```toml\n [shortcuts]\n ctrl-a = { type = \"exec\", exec = { prog = \"notify-send\", args = [\"hello world\"], env.WAYLAND_DISPLAY = \"2\" } }\n ```\n\n- Example 2:\n\n ```toml\n [shortcuts]\n ctrl-a = { type = \"exec\", exec = { shell = \"grim - | wl-copy\", privileged = true } }\n ```\n",
|
||||
"description": "The name, arguments, and environment variables of the executable to execute.\n\nExactly one of the `prog` or `shell` fields must be specified.\n\n- Example 1:\n\n ```toml\n [shortcuts]\n ctrl-a = { type = \"exec\", exec = { prog = \"notify-send\", args = [\"hello world\"], env.WAYLAND_DISPLAY = \"2\" } }\n ```\n",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"prog": {
|
||||
|
|
@ -1465,14 +1413,6 @@
|
|||
"type": "string",
|
||||
"description": ""
|
||||
}
|
||||
},
|
||||
"privileged": {
|
||||
"type": "boolean",
|
||||
"description": "If `true`, the executable gets access to privileged wayland protocols.\n\nThe default is `false`.\n"
|
||||
},
|
||||
"tag": {
|
||||
"type": "string",
|
||||
"description": "Specifies a tag to apply to all spawned wayland connections.\n"
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
|
|
@ -1831,7 +1771,7 @@
|
|||
"properties": {
|
||||
"enable-socket": {
|
||||
"type": "boolean",
|
||||
"description": "Enables or disables the unauthenticated libei socket.\n\nEven if the socket is disabled, application can still request access via the portal.\n\nThe default is `false`.\n"
|
||||
"description": "Enables or disables the unauthenticated libei socket.\n\nThe default is `false`.\n"
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
|
|
@ -2079,7 +2019,6 @@
|
|||
"tile",
|
||||
"quit",
|
||||
"reload-config-toml",
|
||||
"reload-config-so",
|
||||
"consume",
|
||||
"forward",
|
||||
"none",
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -915,13 +915,6 @@ Exec:
|
|||
[shortcuts]
|
||||
ctrl-a = { type = "exec", exec = { prog = "notify-send", args = ["hello world"], env.WAYLAND_DISPLAY = "2" } }
|
||||
```
|
||||
|
||||
- Example 4:
|
||||
|
||||
```toml
|
||||
[shortcuts]
|
||||
ctrl-a = { type = "exec", exec = { shell = "grim - | wl-copy", privileged = true } }
|
||||
```
|
||||
kind: variable
|
||||
variants:
|
||||
- kind: string
|
||||
|
|
@ -959,12 +952,6 @@ Exec:
|
|||
ctrl-a = { type = "exec", exec = { prog = "notify-send", args = ["hello world"], env.WAYLAND_DISPLAY = "2" } }
|
||||
```
|
||||
|
||||
- Example 2:
|
||||
|
||||
```toml
|
||||
[shortcuts]
|
||||
ctrl-a = { type = "exec", exec = { shell = "grim - | wl-copy", privileged = true } }
|
||||
```
|
||||
fields:
|
||||
prog:
|
||||
kind: string
|
||||
|
|
@ -991,18 +978,6 @@ Exec:
|
|||
values:
|
||||
kind: string
|
||||
description: The environment variables to pass to the executable.
|
||||
privileged:
|
||||
kind: boolean
|
||||
required: false
|
||||
description: |
|
||||
If `true`, the executable gets access to privileged wayland protocols.
|
||||
|
||||
The default is `false`.
|
||||
tag:
|
||||
kind: string
|
||||
required: false
|
||||
description: |
|
||||
Specifies a tag to apply to all spawned wayland connections.
|
||||
|
||||
|
||||
SimpleActionName:
|
||||
|
|
@ -1090,8 +1065,6 @@ SimpleActionName:
|
|||
description: Terminate the compositor.
|
||||
- value: reload-config-toml
|
||||
description: Reload the `config.toml`.
|
||||
- value: reload-config-so
|
||||
description: Reload the `config.so`.
|
||||
- value: consume
|
||||
description: |
|
||||
Consume the current key event. Don't forward it to the focused application.
|
||||
|
|
@ -3566,8 +3539,6 @@ Libei:
|
|||
description: |
|
||||
Enables or disables the unauthenticated libei socket.
|
||||
|
||||
Even if the socket is disabled, application can still request access via the portal.
|
||||
|
||||
The default is `false`.
|
||||
|
||||
|
||||
|
|
@ -3948,36 +3919,6 @@ ClientRule:
|
|||
ref: Action
|
||||
required: false
|
||||
description: An action to execute when a client no longer matches the criteria.
|
||||
capabilities:
|
||||
ref: ClientCapabilities
|
||||
required: false
|
||||
description: |
|
||||
Sets the capabilities granted to clients matching this matcher.
|
||||
|
||||
If multiple matchers match a client, the capabilities are added.
|
||||
|
||||
If no matcher matches a client, it is granted the default capabilities depending
|
||||
on whether it's sandboxed or not. If it is not sandboxed, it is granted the
|
||||
capabilities `layer-shell` and `drm-lease`. Otherwise it is granted the
|
||||
capability `drm-lease`.
|
||||
|
||||
Regardless of any capabilities set through this function, the capabilities of the
|
||||
client can never exceed its bounding capabilities.
|
||||
sandbox-bounding-capabilities:
|
||||
ref: ClientCapabilities
|
||||
required: false
|
||||
description: |
|
||||
Sets the upper capability bounds for clients in sandboxes created by this client.
|
||||
|
||||
If multiple matchers match a client, the capabilities are added.
|
||||
|
||||
If no matcher matches a client, the bounding capabilities for sandboxes depend on
|
||||
whether the client is itself sandboxed. If it is sandboxed, the bounding
|
||||
capabilities are the effective capabilities of the client. Otherwise the bounding
|
||||
capabilities are all capabilities.
|
||||
|
||||
Regardless of any capabilities set through this function, the capabilities set
|
||||
through this function can never exceed the client's bounding capabilities.
|
||||
|
||||
|
||||
ClientMatch:
|
||||
|
|
@ -4169,14 +4110,6 @@ ClientMatch:
|
|||
kind: string
|
||||
required: false
|
||||
description: Matches the `/proc/pid/exe` of the client with a regular expression.
|
||||
tag:
|
||||
kind: string
|
||||
required: false
|
||||
description: Matches the tag of the client verbatim.
|
||||
tag-regex:
|
||||
kind: string
|
||||
required: false
|
||||
description: Matches the tag of the client with a regular expression.
|
||||
|
||||
|
||||
ClientMatchExactly:
|
||||
|
|
@ -4660,72 +4593,6 @@ Direction:
|
|||
description: The down direction.
|
||||
|
||||
|
||||
ClientCapabilities:
|
||||
description: |
|
||||
A mask of client capabilities.
|
||||
kind: variable
|
||||
variants:
|
||||
- kind: string
|
||||
description: A named mask.
|
||||
values:
|
||||
- value: none
|
||||
description: No capabilities.
|
||||
- value: all
|
||||
description: The mask containing all capabilities.
|
||||
- value: data-control
|
||||
description: |
|
||||
Grants access to the `ext_data_control_manager_v1` and
|
||||
`zwlr_data_control_manager_v1` globals.
|
||||
- value: virtual-keyboard
|
||||
description: |
|
||||
Grants access to the `zwp_virtual_keyboard_manager_v1` global.
|
||||
- value: foreign-toplevel-list
|
||||
description: |
|
||||
Grants access to the `ext_foreign_toplevel_list_v1` global.
|
||||
- value: idle-notifier
|
||||
description: |
|
||||
Grants access to the `ext_idle_notifier_v1` global.
|
||||
- value: session-lock
|
||||
description: |
|
||||
Grants access to the `ext_session_lock_manager_v1` global.
|
||||
- value: layer-shell
|
||||
description: |
|
||||
Grants access to the `zwlr_layer_shell_v1` global.
|
||||
- value: screencopy
|
||||
description: |
|
||||
Grants access to the `ext_image_copy_capture_manager_v1` and
|
||||
`zwlr_screencopy_manager_v1` globals.
|
||||
- value: seat-manager
|
||||
description: |
|
||||
Grants access to the `ext_transient_seat_manager_v1` global.
|
||||
- value: drm-lease
|
||||
description: |
|
||||
Grants access to the `wp_drm_lease_device_v1` global.
|
||||
- value: input-method
|
||||
description: |
|
||||
Grants access to the `zwp_input_method_manager_v2` global.
|
||||
- value: workspace-manager
|
||||
description: |
|
||||
Grants access to the `ext_workspace_manager_v1` global.
|
||||
- value: foreign-toplevel-manager
|
||||
description: |
|
||||
Grants access to the `zwlr_foreign_toplevel_manager_v1` global.
|
||||
- value: head-manager
|
||||
description: |
|
||||
Grants access to the `jay_head_manager_v1` and `zwlr_output_manager_v1`
|
||||
globals.
|
||||
- value: gamma-control-manager
|
||||
description: |
|
||||
Grants access to the `zwlr_gamma_control_manager_v1` global.
|
||||
- value: virtual-pointer
|
||||
description: |
|
||||
Grants access to the `zwlr_virtual_pointer_manager_v1` global.
|
||||
- kind: array
|
||||
description: An array of masks that are OR'd.
|
||||
items:
|
||||
ref: ClientCapabilities
|
||||
|
||||
|
||||
SimpleIm:
|
||||
kind: table
|
||||
description: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue