Skip to content

attomos/bear_todo_counter

Repository files navigation

bear_todo_counter

Build Status Coverage Status Code style: black

Visual progress bar provided by Bear is nice, but sometimes I need to know how many tasks need to be done.
bear_todo_counter addresses this problem, allowing you to put a TODO progress in Bear note's title.

Motivation

Inspired by org-mode's subtasks progress, this simple Python script will:

  1. read the text from clipboard
  2. count number of completed items and total items
  3. set the clipboard with the original text + TODO progress in the first line

Org mode Subtasks Progress

org-mode subtasks progress

🐻 with bear_todo_counter

bear_todo_counter

Usage

I trigger this script using BetterTouchTool with a simple sequence of actions.
Screenshots below should explain everything.

BTT Actions BTT Applescript

Running tests

# in virutalenv or whatever env management of your choice
pip install -r requirements.txt

pytest
pytest --cov bear_todo_counter  # with coverage

About

🐻 A simple Python script to put a TODO progress in Bear note's title.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages