check if window is not the same as the one where the command started executing on expiration to show notifications in a smarter way

This commit is contained in:
mikob 2020-10-27 16:29:55 -06:00
parent fb38802d33
commit e7253df7ad
2 changed files with 25 additions and 1 deletions

View file

@ -154,6 +154,15 @@ then all the values in ``AUTO_NOTIFY_IGNORE`` are not used.
export AUTO_NOTIFY_WHITELIST=("apt-get" "docker")
**Ignoring Window Check**
By default the notification only shows if the active window is not the same as the the one that the command was run
in when the command finishes. If you wish to skip window checking, set ``AUTO_NOTIFY_IGNORE_WINDOW_CHECK``.
::
export AUTO_NOTIFY_IGNORE_WINDOW_CHECK=true
Temporarily Disabling Notifications
-----------------------------------