From cefd6b2450f785cf26f2f57cfbe7b2fffcbf60a8 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Mon, 16 Jun 2025 23:57:41 -0400 Subject: [PATCH] added hooks --- .config/yadm/hooks/post_pull | 10 ++++++++++ .testrc | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 .config/yadm/hooks/post_pull delete mode 100644 .testrc diff --git a/.config/yadm/hooks/post_pull b/.config/yadm/hooks/post_pull new file mode 100755 index 00000000..8e7e618d --- /dev/null +++ b/.config/yadm/hooks/post_pull @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ -f "$HOME/.config/task/taskrc" ]; then + if [ "$(hostname)" = "dbox" ]; then + val="yes" + else + val="false" + fi + printf 'recurrence=%s\n' "$val" >>"$HOME/.config/task/taskrc" +fi diff --git a/.testrc b/.testrc deleted file mode 100644 index d6312d8b..00000000 --- a/.testrc +++ /dev/null @@ -1 +0,0 @@ -U2FsdGVkX19HnSa4CddOz/3RVeVjMgPf4Mt/x8y7dgM=