-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for tab detection #40
Comments
There might be limitations in terms of tab detection.
|
But it's a bunch of function, not a simple configuration file. Seems weird to me For tab detection, I looked on google and found nobody who tried this yet... not very encouraging :P |
@BarbzYHOOL This thread might give you some insight into |
(sorry for offtopic)
He said not to put all in conf.d (didn't read entire thread yet though), no? His own plugin doesn't do it like this https://github.com/fisherman/fishtape |
These 2 functions need to be eagerly loaded: function __done_started --on-event fish_preexec
function __done_ended --on-event fish_prompt It was not worthwhile to spread the other 3 functions in different files since the performance impact is negligible. |
@BarbzYHOOL What is a "tab" in this case? Which window manager/desktop environment were you using? |
|
I think it is possible for at least for iTerm2, here's how zsh-notify does that https://github.com/marzocchi/zsh-notify/blob/master/applescript/resources/is-iterm2-active.applescript |
Actually, it displays the notification when the window is not focused, which is great, but if you open a new tab and switch to it, then the notification won't display because it considers you're in the same windows (which is true lol)
Need to add a tab option
I'm on linux so it's probably this line to edit, but no idea how:
Maybe getting the tab title can work too?
PS: why is the main file in /conf.d/ ??
The text was updated successfully, but these errors were encountered: