]> git.newer.systems - dwmblocks.git/commitdiff
todo-locations
authorTucker Johnson <tucker@newer.systems>
Thu, 13 Feb 2025 13:05:47 +0000 (08:05 -0500)
committerTucker Johnson <tucker@newer.systems>
Thu, 13 Feb 2025 13:05:47 +0000 (08:05 -0500)
statusbar-scripts/sb-clock

index 315dc6bfa9dd2ceb87e08f14e3ab86cb0d6b99b3..a2eb7ebd3362a26d2a3cbd9346b01295d30b9b80 100755 (executable)
@@ -1,11 +1,11 @@
 #!/bin/bash
 
 case $BLOCK_BUTTON in
-    1) input="$(cat ~/Notes/bujo/todo.md | sed 's/-//')"
+    1) input="$(cat $TODO | sed 's/-//')"
         current_block=""
         summary="todo"
         in_block=false
-        notify-send "today" "$(remind -nb1 ~/Notes/calendar.rem | grep $(date +"%Y/%m/%d") | sed 's/^...........//' | sort)" &&
+        notify-send "today" "$(remind -nb1 $CALENDAR | grep $(date +"%Y/%m/%d") | sed 's/^...........//' | sort)" &&
                 while IFS= read -r line;
                 do
                     if [[ "$line" =~ ^# ]]; then