bgnotify global threshold limits per-command control in Oh My Zsh
Goal is to use Oh My Zsh bgnotify plugin to receive desktop notifications for long-running foreground commands while keeping alert noise low. bgnotify emits a notification when a command exceeds a time threshold and the terminal is unfocused. Noise reduction relies on the global bgnotify_threshold variable and the unfocused-window check. Backends differ by p