Skip to content

Git-Cat-21/ToDo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ToDo List Manager

starline


This is a simple Bash script to manage a todo list. The script allows you to add tasks, mark tasks as done, and list all tasks.

Usage

git clone git@github.com:Git-Cat-21/ToDo.git
cd ToDo
chmod +x todo.sh
sudo cp ./todo.sh /usr/local/bin/todo

To view help

todo

Task Cleanup Instructions

To automatically clean up tasks marked as done every Sunday at 2 PM:

Open your crontab

crontab -e

Add this line to your file

0 14 * * 0  /usr/local/bin/todo -clean

Manual Cleanup

To manually clean up completed tasks at any time, run:

todo -clean

Want a friendly nudge to check your todo list?

Put notify.sh in your home directory.

Open your crontab (yes, again!) and add this line for hourly reminders:

0 * * * * DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus ~/notify.sh

Now, every hour, your computer will gently (or annoyingly) remind you that your tasks aren’t going to finish themselves!


Left ToDo

  • Add flag -r (remove tasks)
  • Add flag -h (help)
  • Add flag -lp (list pending tasks)
  • Add flag -R (random task)
  • Add flag -e (edit tasks)
  • Add flag -u (Undo Task Completion)
  • Add a search task functionality
  • Add a function that automatically deletes tasks that have been marked as done.
  • A history file to keep track of all the tasks

About

A simple Bash script to manage a todo list.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages