From 99470bda884aa47b7660576396bb912bf3ecf7aa Mon Sep 17 00:00:00 2001 From: "Christopher R. Nelson" Date: Sat, 2 Sep 2023 15:39:58 -0400 Subject: add move configs --- .config/openbox/todoman.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 .config/openbox/todoman.sh (limited to '.config/openbox/todoman.sh') diff --git a/.config/openbox/todoman.sh b/.config/openbox/todoman.sh new file mode 100755 index 0000000..636c97c --- /dev/null +++ b/.config/openbox/todoman.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +echo "" +echo "" +echo "x-terminal-emulator -e todoman new $id" +echo "" +echo "" + +tasks=$(todoman --porcelain | jq ".[]" -c) +while read -r task; do + summary=$(echo $task | jq ".summary" -r) + description=$(echo $task | jq ".description" -r) + id=$(echo $task | jq ".id" -r) + echo "" + echo "" + echo "" + echo "" + echo "x-terminal-emulator -e todoman edit $id" + echo "" + echo "" + echo "todoman done $id" + echo "" + echo "" +done <<< $tasks + +echo "" -- cgit v1.2.3