From 1708b6edf78aafef06e67939c7a0637083794918 Mon Sep 17 00:00:00 2001 From: "Peter F. Patel-Schneider" Date: Mon, 22 Aug 2022 15:23:14 -0400 Subject: [PATCH] docs: document Active rule condition --- docs/rules.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/rules.md b/docs/rules.md index 41741807..5a37cdbd 100644 --- a/docs/rules.md +++ b/docs/rules.md @@ -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;