From 1558419b6843d0b9e64304d0cfa1dde4dc6bd499 Mon Sep 17 00:00:00 2001 From: Itzik <37775846+PatentLobster@users.noreply.github.com> Date: Sat, 23 Sep 2023 14:52:42 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/vhs/tmux-vhs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/vhs/tmux-vhs.sh b/scripts/vhs/tmux-vhs.sh index 6a0bc02..1c8049e 100755 --- a/scripts/vhs/tmux-vhs.sh +++ b/scripts/vhs/tmux-vhs.sh @@ -9,8 +9,8 @@ x="${X:-180}" y="${Y:-30}" export IFS=$'\n' session_name="my_session" -base_dir="$(dirname "$(chezmoi source-path))" -terminalizer_config="$(dirname "$(chezmoi source-path)")/scripts/vhs/config.yml" +base_dir="$(dirname "$(chezmoi source-path)")" +terminalizer_config="${base_dir}/scripts/vhs/config.yml" terminalizer record -c $terminalizer_config "${base_dir}/demo" function record() { tmux send-keys -t "$session_name" "terminalizer record -c $terminalizer_config demo"