Commit Diff


commit - 005bb95481b99f2c1dc5084047bc615d8d3c9ce2
commit + ac11cbf369703bf92a989d77fbe700ba23be77ac
blob - abea66f6b8443a5d7fb39af6405644173da44456
blob + 865de2fa6bb216d1ce8c1dc5af7d2798d089a7f8
--- painlist
+++ painlist
@@ -148,7 +148,7 @@ format='
 
         if(NR > 0) {
             print reset() bold() # adds blank line
-            printf("%.1f pain  \t%d active items", total, NR)
+            printf("%6.1f pain  \t%d active items", total, NR)
             if(nun)   printf(", %d unrated", nun)
             if(nurg)  printf(", %d urgent (%s!%s)", nurg,
                              color(red), reset() bold())
@@ -180,7 +180,7 @@ summarize='
     }
 
     END {
-        printf("%5.1f total", total)
+        printf("%6.1f total", total)
         for(t in sum)
                 printf("  %.1f %s", sum[t], t)
         print ""