From: Edward Date: Tue, 23 Sep 2025 20:18:28 +0000 (-0500) Subject: Add done count to wtfutil dash X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/a618dc3982ad2e1c7aa8cc16e17c310dcbb5f8b3 Add done count to wtfutil dash --- diff --git a/files/ts/count-gh-done.sh b/files/ts/count-gh-done.sh new file mode 100755 index 0000000..27473f5 --- /dev/null +++ b/files/ts/count-gh-done.sh @@ -0,0 +1 @@ +gh project item-list 10 --owner techservicesillinois --limit 50 --format json | jq '.items[] | select(.status == "Done") | .title' | wc -l diff --git a/files/ts/wtfutil.config.yml b/files/ts/wtfutil.config.yml index dab1edb..b072113 100644 --- a/files/ts/wtfutil.config.yml +++ b/files/ts/wtfutil.config.yml @@ -6,7 +6,7 @@ wtf: normal: gray grid: columns: [80,40] - rows: [3,3,7,40] + rows: [3,3,3, 4,40] refreshInterval: 600 mods: check_backups: @@ -66,6 +66,17 @@ wtf: width: 1 height: 1 type: cmdrunner + count_done: + title: "Count Done" + cmd: "bash" + args: ["/home/delaport/dotfiles/files/ts/count-gh-done.sh"] + enabled: true + position: + top: 3 + left: 1 + width: 1 + height: 1 + type: cmdrunner in_progress: title: "In Progress" cmd: "bash" @@ -75,7 +86,7 @@ wtf: top: 2 left: 0 width: 1 - height: 1 + height: 2 type: cmdrunner backlog: title: "GitHub Backlog" @@ -83,7 +94,7 @@ wtf: args: ["/home/delaport/dotfiles/files/ts/list-gh-board.sh"] enabled: true position: - top: 3 + top: 4 left: 0 width: 2 height: 1