1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat: friendship ended with todo.txt

This commit is contained in:
2021-04-08 20:00:54 +02:00
parent 71b5a8cb24
commit 4cba5a0b8a
6 changed files with 0 additions and 54 deletions

View File

@@ -91,21 +91,6 @@ in {
units = "metric";
};
}
{
block = "custom";
interval = 20;
command = pkgs.writers.writeDash "tasks" ''
${pkgs.todo-txt-cli}/bin/todo.sh list '(.)' \
| tail -n 1 \
| ${pkgs.gawk}/bin/awk '{ print " " $2 "/" $4 }'
'';
on_click = let sleepSeconds = 2.5;
in pkgs.writers.writeDash "show-tasks" ''
${pkgs.st}/bin/st -c floating -e ${pkgs.dash}/bin/dash -c "${pkgs.todo-txt-cli}/bin/todo.sh list && sleep ${
toString sleepSeconds
}"
'';
}
{
block = "custom";
interval = 30;