diff --git a/48-plugins.zsh b/48-plugins.zsh index 488e1b0..3601802 100644 --- a/48-plugins.zsh +++ b/48-plugins.zsh @@ -8,7 +8,7 @@ export ZSHZ_CASE=smart export ZSHZ_DATA="${ZSH_CACHE_DIR}/z" zcomet load agkozak/zsh-z -if [[ "$DISPLAY" != '' ]] && command -v xdotool > /dev/null 2>&1 && command -v wmctrl > /dev/null 2>&1; then +if [[ "$(id -u)" != "0" ]] && [[ "$DISPLAY" != '' ]]; then zstyle ':notify:*' expire-time 5000 zstyle ':notify:*' command-complete-timeout 20 zstyle ':notify:*' enable-on-ssh yes