From d8fecc6ec2fcd9b5113bca23ba62144390926dcd Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Wed, 14 Jun 2023 16:23:12 +0200 Subject: demo: simplify and adjust scripts --- web/common.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'web/common.sh') diff --git a/web/common.sh b/web/common.sh index b815dd4..c269fe1 100644 --- a/web/common.sh +++ b/web/common.sh @@ -79,6 +79,11 @@ clear_panes() { sleep 1 } +get_first_pane() { + pane=$(tmux list-panes | awk 'NR==1{ print $1 }' | sed 's/://') + echo $pane +} + teardown_common() { sleep 5 tmux kill-session -t $SESSION -- cgit v1.2.3