💾 Archived View for gemini.ctrl-c.club › ~dhruva › 2022-05-01_164311.gmi captured on 2024-08-25 at 02:40:44. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-06-03)
-=-=-=-=-=-=-
In my previous post about
, I mentioned about how I was using Calcurse as my calender. Now calcurse also has a Todo section which works great, except that I have to open calcurse to use it. I just want to quickly see what I need to do, press enter to say I am done with it and it should be gone. Adding an entry should be just as easy
dmenu is a suckless menu selector which has fuzzy search (patch), default text (patch) and autocomplete. This is everything I need. So I made a script to use dmenu as my So I simply read the calcurse todo file and display a menu with each entry in the todo as a dmenu entry.
When user inputs, I check if it matches any previous entry. If it does, then I remove the entry from the todo file.
When the user input does not match any entry, it is assumed to be a new entry, and added to the file.
This solution has 2 problems,
I added a keybind to dwm to run my script, and everything works so beautifully. Now I can go and remove the todo entry to write this post.
Here is the final script-
mysetup,mycreation,todoman,suckless