added omni auto-loader to zsh if using alacritty

This commit is contained in:
Wryn (yage) Wagner 2023-11-14 22:36:14 -07:00
parent a7c0ec2280
commit 7fdb33edb5

5
zsh/rc
View File

@ -43,4 +43,9 @@ WELCOME
echo $PATH | grep -q "^\\(.*:\\|\\)$HOME/.local/bin\\(:.*\\|\\)$" \ echo $PATH | grep -q "^\\(.*:\\|\\)$HOME/.local/bin\\(:.*\\|\\)$" \
|| export PATH="$HOME/.local/bin:$PATH" || export PATH="$HOME/.local/bin:$PATH"
##################################################################### #####################################################################
[[ $TERM =~ alacritty ]] \
&& [[ $(xdotool search --classname Alacritty 2>/dev/null | wc -l) -eq 1 ]] \
&& scwrypts tmux omni
true true