mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-13 12:23:38 +01:00
docs(macos): say what Class is on macOS in the schema and the komorebic help
The schema and the help of komorebic described the Class identifier as 'Role or subrole'. It is the accessibility subrole of the window, or its role when it has no subrole, and a rule matches either.
This commit is contained in:
1 parent
cf60d00e75
commit
1849547153
10 files changed
+11
-10
No files matched your search
@@ -177,7 +177,7 @@ fn platform_text(platform: Platform) -> &'static [(&'static str, &'static str, &
|
||||
(
|
||||
"ApplicationIdentifier",
|
||||
"/oneOf/1/description",
|
||||
"Role or subrole",
|
||||
"Accessibility subrole or role, such as AXStandardWindow",
|
||||
),
|
||||
],
|
||||
}
|
||||
|
||||
@@ -98,7 +98,8 @@ pub enum ApplicationIdentifier {
|
||||
Exe,
|
||||
// the description is part of the checked-in schemas, which differ per platform
|
||||
#[cfg_attr(target_os = "windows", doc = " Class")]
|
||||
#[cfg_attr(not(target_os = "windows"), doc = " Role or subrole")]
|
||||
#[cfg_attr(target_os = "macos", doc = " Accessibility subrole or role, such as AXStandardWindow")]
|
||||
#[cfg_attr(not(any(target_os = "windows", target_os = "macos")), doc = " Role or subrole")]
|
||||
#[serde(alias = "class")]
|
||||
Class,
|
||||
#[serde(alias = "title")]
|
||||
|
||||
@@ -9,7 +9,7 @@ Arguments:
|
||||
<IDENTIFIER>
|
||||
Possible values:
|
||||
- exe: Executable name
|
||||
- class: Role or subrole
|
||||
- class: Accessibility subrole or role, such as AXStandardWindow
|
||||
- title: Window title
|
||||
- path: Executable path
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ Arguments:
|
||||
<IDENTIFIER>
|
||||
Possible values:
|
||||
- exe: Executable name
|
||||
- class: Role or subrole
|
||||
- class: Accessibility subrole or role, such as AXStandardWindow
|
||||
- title: Window title
|
||||
- path: Executable path
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ Arguments:
|
||||
<IDENTIFIER>
|
||||
Possible values:
|
||||
- exe: Executable name
|
||||
- class: Role or subrole
|
||||
- class: Accessibility subrole or role, such as AXStandardWindow
|
||||
- title: Window title
|
||||
- path: Executable path
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ Arguments:
|
||||
<IDENTIFIER>
|
||||
Possible values:
|
||||
- exe: Executable name
|
||||
- class: Role or subrole
|
||||
- class: Accessibility subrole or role, such as AXStandardWindow
|
||||
- title: Window title
|
||||
- path: Executable path
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ Arguments:
|
||||
<IDENTIFIER>
|
||||
Possible values:
|
||||
- exe: Executable name
|
||||
- class: Role or subrole
|
||||
- class: Accessibility subrole or role, such as AXStandardWindow
|
||||
- title: Window title
|
||||
- path: Executable path
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ Arguments:
|
||||
<IDENTIFIER>
|
||||
Possible values:
|
||||
- exe: Executable name
|
||||
- class: Role or subrole
|
||||
- class: Accessibility subrole or role, such as AXStandardWindow
|
||||
- title: Window title
|
||||
- path: Executable path
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"const": "Exe"
|
||||
},
|
||||
{
|
||||
"description": "Role or subrole",
|
||||
"description": "Accessibility subrole or role, such as AXStandardWindow",
|
||||
"type": "string",
|
||||
"const": "Class"
|
||||
},
|
||||
|
||||
@@ -618,7 +618,7 @@
|
||||
"const": "Exe"
|
||||
},
|
||||
{
|
||||
"description": "Role or subrole",
|
||||
"description": "Accessibility subrole or role, such as AXStandardWindow",
|
||||
"type": "string",
|
||||
"const": "Class"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user