ntfy icon indicating copy to clipboard operation
ntfy copied to clipboard

send notifcation when in another terminal tab

Open oz123 opened this issue 9 years ago • 1 comments
trafficstars

when running with

export AUTO_NTFY_DONE_UNFOCUSED_ONLY=-b 

Notification are send only when the window isn't focused, but when one works with multiple tabs open, it will be nice to have notifications sent too. The solution right now is to completely disable this option and accept that notifications will be sent even if the current tab is focused.

oz123 avatar Jul 25 '16 09:07 oz123

This feature would be per-terminal-emulator. The Mac OS emulators already work that way (mostly because of the AppleScript needed to even get it to work at all, I had inspect the tabs), but on linux I just use xprop to determine if the window is focused because it was good enough for me. I personally use GNU screen as "tabs" rather than any terminal emulator's suppport so that's probably what I'd add first.

dschep avatar Jul 25 '16 14:07 dschep