I've been looking hard for a dmenu-todo alternative because the todo script by suckless seems to have several issues. Unfortunately, I'm not yet experienced enough to write my own or fix existing ones. This one todo menu is definitely one of the better ones, but a major bug still exists:
Create note abc. Then attempt to create note abc abc. When pressing Enter, not only will note "abc abc" not be created, but note abc will be. Isn't it better to use incremental search where after note abc already exists, if I type abc followed by a space (and/or followed by another a after in abc a), the note abc should no longer be selected and thus the note abc a can be created successfully? Another example: add the task test here. Then, try to add here test--it matches test here and you can't have both tasks added.
Feature request: How about a "Create/select todo list" prompt and an "Add task" prompt? When I tried this dmenu wrapper for the first time, it wasn't too obvious if I was adding a todo list or a task for a list because there's no prompts and no existing todo lists or tasks. This is more of a preference thing though, you probably prefer the minimalism seeing as you didn't incorporate a prompt that the suckless's version did.
Feature request: How about for adding tasks to a todo list, if a task is prefixed by a number from 1 to 5 followed by a colon, it is sorted by this prefix? The idea is to give priorities to certain tasks and the ones with the highest priority are listed first. Example: 5:Do chores, 2:Finish laundry, etc. If no priority is given, it can be given a default priority of 3: or whatever. This is just an idea if you find it useful.
I've been looking hard for a dmenu-todo alternative because the todo script by suckless seems to have several issues. Unfortunately, I'm not yet experienced enough to write my own or fix existing ones. This one todo menu is definitely one of the better ones, but a major bug still exists:
Create note
abc. Then attempt to create noteabc abc. When pressing Enter, not only will note "abc abc" not be created, but noteabcwill be. Isn't it better to use incremental search where after noteabcalready exists, if I typeabcfollowed by a space (and/or followed by anotheraafter inabc a), the noteabcshould no longer be selected and thus the noteabc acan be created successfully? Another example: add the tasktest here. Then, try to addhere test--it matchestest hereand you can't have both tasks added.Feature request: How about a "Create/select todo list" prompt and an "Add task" prompt? When I tried this dmenu wrapper for the first time, it wasn't too obvious if I was adding a todo list or a task for a list because there's no prompts and no existing todo lists or tasks. This is more of a preference thing though, you probably prefer the minimalism seeing as you didn't incorporate a prompt that the suckless's version did.
Feature request: How about for adding tasks to a todo list, if a task is prefixed by a number from 1 to 5 followed by a colon, it is sorted by this prefix? The idea is to give priorities to certain tasks and the ones with the highest priority are listed first. Example:
5:Do chores,2:Finish laundry, etc. If no priority is given, it can be given a default priority of3:or whatever. This is just an idea if you find it useful.