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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user