From 8ccec170b9f4a5b01e573905d4942f27a40482e0 Mon Sep 17 00:00:00 2001 From: yage Date: Sat, 13 Apr 2024 16:59:36 -0600 Subject: [PATCH] alacritty auto-omni launcher looks to tmux server instead of xserver now --- zsh/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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