macaroni

when trigger

Description:
The when trigger is used to specify a set of conditions that when true, triggers a command.

Parent: triggers

Value:

# sequence form
when:
- (condition1, required)
- (condition2, optional)
- ...

# sequence example
when:
- app: notepad.exe
  title: favorites.txt
  running: true