Правила для уведомлений

This commit is contained in:
Andrei Astafev 2022-06-22 15:45:57 +03:00
parent c00e6d09ef
commit a091c15045

View File

@ -8,7 +8,7 @@ export ZSHZ_CASE=smart
export ZSHZ_DATA="${ZSH_CACHE_DIR}/z" export ZSHZ_DATA="${ZSH_CACHE_DIR}/z"
zcomet load agkozak/zsh-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:*' expire-time 5000
zstyle ':notify:*' command-complete-timeout 20 zstyle ':notify:*' command-complete-timeout 20
zstyle ':notify:*' enable-on-ssh yes zstyle ':notify:*' enable-on-ssh yes