aboutsummaryrefslogtreecommitdiff
path: root/home/dot_local/share/bin/executable_vdirsyncer
diff options
context:
space:
mode:
Diffstat (limited to 'home/dot_local/share/bin/executable_vdirsyncer')
-rw-r--r--home/dot_local/share/bin/executable_vdirsyncer6
1 files changed, 6 insertions, 0 deletions
diff --git a/home/dot_local/share/bin/executable_vdirsyncer b/home/dot_local/share/bin/executable_vdirsyncer
new file mode 100644
index 0000000..7869f19
--- /dev/null
+++ b/home/dot_local/share/bin/executable_vdirsyncer
@@ -0,0 +1,6 @@
+#!/bin/sh
+CFG_TMP="$XDG_CONFIG_HOME/vdirsyncer/config"
+mkfifo --mode 700 "$CFG_TMP"
+"$XDG_CONFIG_HOME/vdirsyncer/config_gen" > "$CFG_TMP" &
+/usr/bin/vdirsyncer --config "$CFG_TMP" "$@"
+rm -f "$CFG_TMP"