commit 9250b0e7a911400c5159e409c631a2257e1d6fa7
parent ff4f954be5a127b91262f0d8a8b2593aad49d67f
Author: Anton Konyahin <me@konyahin.xyz>
Date: Mon, 12 Feb 2024 19:49:28 +0300
scripts: hide completed tasks from status
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/dot-bin/status.sh b/scripts/dot-bin/status.sh
@@ -14,7 +14,7 @@ while true; do
#SONG=$(mpc current)
[ -n "$SONG" ] && SONG="🎧 $SONG "
- TASK=$(grep "+active" /home/anton/data/notes/todo.txt)
+ TASK=$(grep "+active" /home/anton/data/notes/todo.txt | grep -v "^x")
[ -n "$TASK" ] && TASK="🔵 $(clean_task "$TASK")"
xsetroot -name "$TASK $SONG🔋$CHARGE% $LAYOUT $DATE"