From 831c0b0b00f4c68815d6677270f1e787b992289e Mon Sep 17 00:00:00 2001 From: Michael Aquilina Date: Sun, 21 Jul 2019 21:52:58 +0100 Subject: [PATCH] Add entry in README about AUTO_NOTIFY_EXPIRE_TIME --- README.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.rst b/README.rst index b968616..0991cb2 100644 --- a/README.rst +++ b/README.rst @@ -94,6 +94,18 @@ can configure this value by setting the environment variable ``AUTO_NOTIFY_THRES export AUTO_NOTIFY_THRESHOLD=20 +**Notification Expiration Time** + +You can set how long a notification sent by ``auto-notify`` will remain showing by setting the environment +variable ``AUTO_NOTIFY_EXPIRE_TIME`` to a custom value in milliseconds. The default value is set to 8 seconds. +NOTE: This configuration option currently only works for Linux. + +:: + + # Set notification expiry to 10 seconds + export AUTO_NOTIFY_EXPIRE_TIME=10000 + + **Ignored Commands** A number of commands do not get notifications for long running times due to their nature (e.g. ``watch`` or ``man``).