From: Tucker Johnson Date: Thu, 13 Feb 2025 13:05:47 +0000 (-0500) Subject: todo-locations X-Git-Url: https://git.newer.systems/?a=commitdiff_plain;h=ae50a6cef1de76ee46bfa96773661623342a2526;p=dwmblocks.git todo-locations --- diff --git a/statusbar-scripts/sb-clock b/statusbar-scripts/sb-clock index 315dc6b..a2eb7eb 100755 --- a/statusbar-scripts/sb-clock +++ b/statusbar-scripts/sb-clock @@ -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