Workaround bug in terminal-notifier by adding configurable timeout
Repository details (npshell)
- Project page
- npshell
- Project category
- npshell (121 entries)
- Repository
-
@joelpurra/npshell
- Owner
-
@joelpurra
- Issues
-
@joelpurra/npshell/issues
- Contributors
-
@joelpurra/npshell/graphs/contributors
Commit details (e247423f)
- Author
- Joel Purra
- Authored at
- Commiter
- Joel Purra
- Commited at
Commit message
Workaround bug in terminal-notifier by adding configurable timeout - Previously, the notifications would only work once. - This seems to be related to `terminal-notifier` not exiting automatically after displaying the notification. - The issue is related to a bug where `terminal-notifier` is waiting for the user to close or otherwise give input to the notification, as if it was an alert with actions. - The bug has not been fixed upstream since it was first reported several months ago. - One workaround is to add a timeout, so the notification "closes itself". - Made the timeout configurable through `configNotificationTimeout`. See - https://github.com/julienXX/terminal-notifier/issues/223
Changed files (6)
-
USAGE.md
+7, -0 -
src/help/np-help.txt
+6, -0 -
src/shared/functionality.sh
+3, -0 -
src/shared/functions/cross-platform.sh
+3, -1 -
src/shared/functions/notify.sh
+32, -2 -
src/shared/man/man1/np.1
+9, -0