From 7fdb33edb5f51ca415e5070668a8a36ce70626bd Mon Sep 17 00:00:00 2001 From: yage Date: Tue, 14 Nov 2023 22:36:14 -0700 Subject: [PATCH] added omni auto-loader to zsh if using alacritty --- zsh/rc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/rc b/zsh/rc index 56f25bb..94b5202 100644 --- a/zsh/rc +++ b/zsh/rc @@ -43,4 +43,9 @@ WELCOME echo $PATH | grep -q "^\\(.*:\\|\\)$HOME/.local/bin\\(:.*\\|\\)$" \ || export PATH="$HOME/.local/bin:$PATH" ##################################################################### + +[[ $TERM =~ alacritty ]] \ + && [[ $(xdotool search --classname Alacritty 2>/dev/null | wc -l) -eq 1 ]] \ + && scwrypts tmux omni + true