diff --git a/.config/zsh/bg_notify.zsh b/.config/zsh/bg_notify.zsh index 7e0783c..b3f3d71 100644 --- a/.config/zsh/bg_notify.zsh +++ b/.config/zsh/bg_notify.zsh @@ -17,7 +17,9 @@ if ! (type bgnotify_formatted | grep -q 'function'); then ## allow custom functi fi bgnotify () { ## args: (title, subtitle) - echo -e "\033]777;notify;$1;$2\a" + title="$1" + test "$REMOTE" && title="[$(hostname)] $title" + echo -e "\033]777;notify;$title;$2\a" } ## ZSH hooks ##