docs: document Active rule condition

This commit is contained in:
Peter F. Patel-Schneider 2022-08-22 15:23:14 -04:00
parent 9f8882acd8
commit 1708b6edf7
1 changed files with 5 additions and 1 deletions

View File

@ -99,7 +99,11 @@ or the window's Window manager class or instance name starts with their string a
`MouseProcess` conditions are true if the process for the window under the mouse
or the window's Window manager class or instance name starts with their string argument.
`Setting` conditions checks the value of a Solaar setting on a device.
`Active` conditions are true if a particular device is active.
`Active` conditions take one argument, which is the Serial number or Unit ID of a device,
as shown in Solaar's detail pane.
`Setting` conditions check the value of a Solaar setting on a device.
`Setting` conditions take three or four arguments, depending on the setting:
the Serial number or Unit ID of a device, as shown in Solaar's detail pane,
or null for the device that initiated rule processing;