]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Add done count to wtfutil dash
authorEdward <delaport@illinois.edu>
Tue, 23 Sep 2025 20:18:28 +0000 (15:18 -0500)
committerEdward <delaport@illinois.edu>
Tue, 23 Sep 2025 20:18:28 +0000 (15:18 -0500)
files/ts/count-gh-done.sh [new file with mode: 0755]
files/ts/wtfutil.config.yml

diff --git a/files/ts/count-gh-done.sh b/files/ts/count-gh-done.sh
new file mode 100755 (executable)
index 0000000..27473f5
--- /dev/null
@@ -0,0 +1 @@
+gh project item-list 10 --owner techservicesillinois --limit 50 --format json | jq '.items[] | select(.status == "Done") | .title' | wc -l
index dab1edb5611c8556c8698b0044dae5913ea47ed9..b0721135cf8cfbfbee79e4ea75e37a5e78da6681 100644 (file)
@@ -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