diff --git a/scripts/.local/bin/tmuxpopup b/scripts/.local/bin/tmuxpopup index 6025a49..e977c42 100755 --- a/scripts/.local/bin/tmuxpopup +++ b/scripts/.local/bin/tmuxpopup @@ -1,6 +1,6 @@ #!/usr/bin/env bash -if [ "$(tmux display-message -p -F "#{session-name}")" = "popup" ]; then +if [ "$(tmux display-message -p -F "#{session_name}")" = "popup" ]; then tmux detach-client else tmux popup -d "#{pane_current_path}" -xC -yC -w90% -h90% -E "tmux attach -t popup || tmux new -s popup"