diff --git a/zsh/rc b/zsh/rc index 94b5202..a8e641c 100644 --- a/zsh/rc +++ b/zsh/rc @@ -45,7 +45,7 @@ echo $PATH | grep -q "^\\(.*:\\|\\)$HOME/.local/bin\\(:.*\\|\\)$" \ ##################################################################### [[ $TERM =~ alacritty ]] \ - && [[ $(xdotool search --classname Alacritty 2>/dev/null | wc -l) -eq 1 ]] \ + && [[ $(tmux -L omni.socket list-clients | wc -l) -eq 0 ]] \ && scwrypts tmux omni true