Skip to content

Commit

Permalink
docs: clarify withless notation
Browse files Browse the repository at this point in the history
  • Loading branch information
mishamyrt committed Nov 17, 2023
1 parent 69bff78 commit 07fba5d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ Example:
run: myrt_desk off
```
If you want to run a command on an event, regardless of the input (`with`), then use the simplified notation:

```yaml
# If any monitor is disconnected, set brightness to 60%
- if: screen:disconnected
run: lunar set 60
```

## Event providers

The following event sources can be subscribed to:
Expand Down

0 comments on commit 07fba5d

Please sign in to comment.