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:
LGUG2Z committed 2026-11-06 14:49:36 -08:00
1 parent cf60d00e75
commit 1849547153
10 files changed
+11 -10

No files matched your search

+1 -1
View File
@@ -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",
),
],
}
+2 -1
View File
@@ -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")]
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -15,7 +15,7 @@
"const": "Exe"
},
{
"description": "Role or subrole",
"description": "Accessibility subrole or role, such as AXStandardWindow",
"type": "string",
"const": "Class"
},
+1 -1
View File
@@ -618,7 +618,7 @@
"const": "Exe"
},
{
"description": "Role or subrole",
"description": "Accessibility subrole or role, such as AXStandardWindow",
"type": "string",
"const": "Class"
},