]> git.newer.systems Git - dwmblocks.git/commitdiff
todo
authorTucker Johnson <tucker@newer.systems>
Sun, 4 Jan 2026 18:05:49 +0000 (13:05 -0500)
committerTucker Johnson <tucker@newer.systems>
Sun, 4 Jan 2026 18:05:49 +0000 (13:05 -0500)
statusbar-scripts/sb-clock

index a2eb7ebd3362a26d2a3cbd9346b01295d30b9b80..051ab6f44d62390b3e4eb8809c1d1ca36f0147c5 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 case $BLOCK_BUTTON in
-    1) input="$(cat $TODO | sed 's/-//')"
+    1) input="$(cat $TODO | sed 's/- \[ \]/⬜/; s/- \[-\]/🔜/; s/- \[x\]/✅/; /^$/d')"
         current_block=""
         summary="todo"
         in_block=false