🧈 ButterTodo for Rofi
This repository has been archived on 2026-10-31. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-26 21:30:32 -04:00
bin update buttertodo error 2026-02-21 15:45:25 -05:00
config update to become more similar to butternotes 2026-02-21 09:18:41 -05:00
systemd update picom config and readme 2026-02-23 18:59:12 -05:00
install.sh update quick add to add reminder 2026-02-21 12:21:38 -05:00
LICENSE Add GPL-2.0 license 2026-02-01 17:59:25 -05:00
README.md update stale codeberg references 2026-07-26 21:30:32 -04:00

🧈 ButterTodo

Made for Debian Made for Linux Rofi Powered

Minimal rofi todo manager with markdown format.

Plain Text Power - Tasks are stored as standard markdown with checkboxes, making them easy to edit on mobile or sync across devices. Part of the JustAGuy Linux productivity toolkit.


🚀 Installation

git clone https://justaguy.dev/drew/buttertodo.git
cd buttertodo && ./install.sh

Installs to ~/.local/bin/buttertodo and ~/.config/buttertodo/.

The installer will ask if you want to enable automatic due date and reminder notifications (checks every 30 minutes).

Dependencies

Required:

  • bash - Core functionality
  • rofi - GUI interface

Recommended:

  • at - Exact-time reminders (without it, reminders rely on the systemd timer)

Optional:

  • notify-send - Desktop notifications (dunst, swaync, mako, or fnott)

🎯 Usage

buttertodo              # Launch rofi UI
buttertodo --quick      # Launcher-style quick-add popup (for keybinds)
buttertodo add <task>   # Add a task
buttertodo list         # List all tasks
buttertodo done <n>     # Complete task n
buttertodo delete <n>   # Delete task n
buttertodo clear        # Remove completed tasks
buttertodo undo         # Undo last action
buttertodo edit         # Open in $EDITOR
buttertodo check        # Show due/overdue tasks
buttertodo due <n> <t>  # Set due date/time on task n
buttertodo remind <n> <t>  # Set reminder for task n

📅 Due Dates

Add due dates when creating tasks or set them later:

# Inline with --due flag
buttertodo add "finish report" --due tomorrow
buttertodo add "meeting prep" --due "friday 5pm"

# Using @ suffix
buttertodo add "call mom @sunday"
buttertodo add "deploy @tomorrow 9am"

# Set/change due on existing task
buttertodo due 1 "friday 3pm"
buttertodo due 1 clear   # remove due date

# Check what's due
buttertodo check           # all due/overdue
buttertodo check today     # due today only
buttertodo check overdue   # overdue only

⏰ Reminders

Set reminders on tasks. If at is installed, you get exact-time notifications. Either way, reminders are stored in the todo file and caught by the systemd timer every 30 minutes.

buttertodo remind 1 "47 minutes"
buttertodo remind 1 "2 hours"
buttertodo remind 1 "friday 3pm"
buttertodo remind 1 "tomorrow 9am"
buttertodo remind 1 clear          # remove reminder

🔔 Automatic Due Date Notifications

The installer sets up a systemd timer that checks for due/overdue tasks and triggered reminders every 30 minutes and sends a desktop notification.

# Check timer status
systemctl --user status buttertodo-check.timer

# Enable/disable notifications
systemctl --user enable --now buttertodo-check.timer
systemctl --user disable --now buttertodo-check.timer

⌨️ Rofi Keybinds

Key Action
Enter Open action menu for selected task
Alt+a Add new task
Alt+d Delete task directly
Esc Quit / Back

Action menu (opened by pressing Enter on a task):

  • Mark done — completes the task with strikethrough
  • Set due date — shows current due date if set, accepts natural language (friday 5pm, clear)
  • Set reminder — shows current reminder if set, accepts natural language (2 hours, tomorrow 9am, clear)
  • Delete — removes the task

Overdue tasks appear with a ⚠ warning indicator. Triggered reminders show a 🔔 icon.


🗂️ File Format

Tasks are stored in ~/.butter/todos.md:

- [ ] Buy groceries *(added: 2025-01-21)*
- [ ] Finish report *(added: 2025-01-21, due: 2025-01-25 17:00)*
- [ ] Call dentist *(added: 2025-01-21, remind: 2025-01-23 09:00)*
- [x] ~~Write tests~~ *(added: 2025-01-19, done: 2025-01-21)*

Standard markdown checkboxes with metadata - easy to edit on mobile or sync across devices.


🎨 Theming

Two themes are installed to ~/.config/buttertodo/:

  • theme.rasi - main rofi UI theme
  • quick.rasi - compact launcher-style theme for --quick

Edit either file to match your desktop. quick.rasi imports theme.rasi so colors stay consistent automatically.

Recommended keybind (add to your WM config):

buttertodo --quick      # quick task popup with optional reminder

The --quick popup asks for the task first, then optionally a reminder time. Hit Enter blank to skip the reminder.

⚙️ Configuration

Variable Default Description
BUTTERTODO_FILE ~/.butter/todos.md Todo file location
BUTTERTODO_THEME ~/.config/buttertodo/theme.rasi Rofi theme

XDG Base Directory

Data defaults to ~/.butter. If you prefer XDG compliance, use a symlink or set BUTTER_DIR:

# Symlink option
mkdir -p ~/.local/state/butter
ln -s ~/.local/state/butter ~/.butter

# Or set the env var in your shell rc
export BUTTER_DIR="$HOME/.local/state/butter"

License

GPL-2.0 - See LICENSE for details.

Support

Buy me a coffee

Connect


Made with butter by JustAGuyLinux