diff --git a/README.md b/README.md index 7ea85ad..8e63ee8 100644 --- a/README.md +++ b/README.md @@ -109,8 +109,8 @@ The command for "baz" will be run only once per process detection. ## Troubleshooting -You can enable more verbose output using the `-d` flag or the `RUST_LOG=debug` -environment variable. +You can enable more verbose output using the `-d` flag or setting the environment +variable to `debug` or `trace`. ## Contributing diff --git a/tests/test.toml b/tests/test.toml index b64a8c7..85d67cb 100644 --- a/tests/test.toml +++ b/tests/test.toml @@ -21,12 +21,12 @@ exec_end = ["sh", "-c", "notify-send 'foo end'"] run_once = true [[profiles]] -matching = { cmdline = "^foo?", regex = true } +matching = { cmdline = "^bar.*", regex = true } # regex = false [[profiles.commands]] condition = {seen = "5s"} # one off command -exec = ["sh", "-c", "notify-send 'foo seen'"] -exec_end = ["sh", "-c", "notify-send 'foo end'"] +exec = ["sh", "-c", "notify-send 'bar seen'"] +exec_end = ["sh", "-c", "notify-send 'bar end'"]