Skip to content

Conversation

@Nanoseb
Copy link

@Nanoseb Nanoseb commented Mar 20, 2019

Fixes issue #2 . The notification is displayed only when the window in focus is not the one where the long command was running.

I also cleaned up slightly the code, both tabs and spaces were used, so I put spaces everywhere. And using ` is deprecated so I used $(..) instead.

Copy link

@jb55 jb55 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was looking for this. works great!

Mathieu Denis and others added 14 commits November 6, 2020 19:46
If a long running command is run from a tmux window, on completion, it
verifies that the tmux window differs before triggering a notification.

Information about the tmux session related to the completed
command is added to the notification to make it easier to figure out in
which tmux window the command was being executed.
LONG_RUNNING_COMMAND_TIMEOUT can be set in the environment of the shell.
The same is true for gnuunits which is now called NOTIFYOSD_GNUUNITS.

Change-Id: I546d29ba192424e404e513e9ce069f5cac0bece2
Add support for tmux windows and flexible command timeout
integration of a function to do the convertion to human readable time
The names are still displayed because I think they are still more useful
than the raw IDs.
fix!: LONG_RUNNING_IGNORE_LIST was ignored; now an array and other smaller fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants