Minimal todo list for terminal and rofi.
Note
This is my first project made using C++ and I am also very stupid when it comes to coding so the code is very messy and inefficient (IT WORKS). Feel free to open a pull request for improvements.
figlet
gcc
sed
$ git clone https://github.com/l6174/todominal.git
$ cd todominal
$ makepkg -si
$ git clone https://github.com/l6174/todominal.git
$ cd todominal
$ g++ src/main.cpp -o bin/todominal
Then copy bin/todominal
and bin/todominal_rofi
to your $PATH
.
$ todominal
$ todominal help
Usage:
todominal add {Task Name (string)} #To add Task
todominal remove {Task Index (int)} #To remove Task
todominal done {Task Index (int)} #To mark Task as done
todominal clearall #To Delete ALL Tasks
todominal list #To list Tasks
todominal help #Print this Help dialog
Example:
todominal remove 2
todominal add "Hello World!"
todominal done 3
Tip
Add todominal list
to your .bash_profile
or config.fish
to list all your tasks when you launch terminal.
Bind this command to any key preferred.
rofi -modi todo:todominal-rofi -show todo
To use a custom rofi theme
rofi -modi todo:todominal-rofi -show todo -theme <theme file location>
Add Task:
Enter your task name after a hyphen (-
) followed by priorty (l/m/h) in parentheses (x) in the rofi input field.
Example: - Example Task
Example: - Example Task (m)
Mark As Done:
Select the task to mark as done then select "Mark Done".
Remove Task:
Select the task to remove then select "Remove".
Note
Only for unix/linux based operating systems.