commit 6e98f8b57999038bed8b1ffe9198c627e8a7bf3f
parent e23fb307176f08f4d012122fa557d27b95b59426
Author: Jeff <dev@watertao.xyz>
Date: Sun, 10 Aug 2025 20:55:23 -0700
Removed all dependencies on personal shell scripts
This should actually work for others now provided they've dmenu, an
$EDITOR, and a pager, not excluding shell tools, awk, sed, sort, and
grep.
Diffstat:
4 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/calcurse_dmenu.sh b/calcurse_dmenu.sh
@@ -1,6 +1,5 @@
#!/bin/sh
-#. $LOCAL_LIB/tao/local.vars
PROGDIR="$(cd -- "$(dirname -- "$0")" && pwd)"
. $PROGDIR/config.sh
diff --git a/config.sh b/config.sh
@@ -1,6 +1,5 @@
#!/bin/sh
-#[ -z "$PROGDIR" ] && exit 1
# dmenu command
a="sxmo_dmenu.sh dmenu"
for i in $a; do [ -f "/usr/bin/${i}" ] && dmenu="$i" && break; done
diff --git a/entries.sh b/entries.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-[ -z "$PROGDIR" ] && . "$LOCAL_LIB/tao/local.vars"
+PROGDIR="$(cd -- "$(dirname -- "$0")" && pwd)"
[ -z "$cal_dir" ] && . "$PROGDIR/config.sh"
# Set t option to h for history or t for todo
diff --git a/entry_view.sh b/entry_view.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-[ -z "$PROGDIR" ] && . "$LOCAL_LIB/tao/local.vars"
+PROGDIR="$(cd -- "$(dirname -- "$0")" && pwd)"
[ -z "$cal_dir" ] && . "$PROGDIR/config.sh"
# First param must be set to tmp file of dmenu line selection