Skip to main content

nowfocus: the open source task-tracking self-control panel.

Project description

Nowfocus
Open-source task timer for Linux

Avoid multifailing. Master your to-do lists. Track your time.

nowfocus is a clean, keyboard-driven time management dashboard that flexibly connects multiple to-do lists with multiple time trackers and displays your current task and time spent in the status bar.

Features

  • Unlimited, flexible combinations of to-do lists and time tracking apps
  • Inactivity detection that automatically pauses time tracking
  • Task prioritization
  • Infinitely nestable lists
  • Pomodoro timer
  • Time targets: set a minimum or maximum time for any task or list of tasks and get reminded to follow-through
  • Randomness interrupt bell (optional) to keep you on track with tracking your time
  • Keyboard-driven interface
  • Offline to-do list cache
  • CLI interface
  • Run a command (or launch an application) when a task is started
  • Not built with Electron ♥
  • Follows system dark-mode
  • Lightening fast task search

Currently Supported To-do List Backends

Currently Supported Time Tracker Backends

Installation

  1. Run the following in terminal to install and setup:

    # Install dependencies
    sudo apt install pipx gir1.2-ayatanaappindicator3-0.1 libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev xprintidle 
    
    # Set up pipx   
    pipx ensurepath
    source ~/.bashrc 
    
    # Install nowfocus
    pipx install nowfocus
    
    # and now Focus!
    nowfocus
    
    
  2. Set up a keybinding (on Ubuntu or Linux Mint), open Settings > Keyboard > Keyboard Shortcuts > Custom Shortcuts, set the keystroke to Ctrl + Space (or the combination of your choice) set the command to:

    bash -c "echo 'open_task_window' > /tmp/nowfocus-pipe"
    

Usage

Set up to-do lists and time trackers

Open nowfocus Settings from the indicator menu or tasks window and connect your to-do lists and time tracker(s)

Task Window Keybindings

  • F11 Toggle fullscreen
  • Esc Close task window
  • Enter Start top/selected task (or make a new task with current search phrase if no results)
  • Shift Enter or Shift Click Transfer current session time to selected task (or top task if none selected)
  • Control Enter or Control Click show opetions menu for selected (or top) task
  • Alt Enter or Alt Click Open todolist for selected (or top) task
  • Conrol + S Pause and save current session
  • Conrol + D Pause current session and mark task Done
  • Conrol + Q Quit and discard current session
  • Ctrl + N New task
  • Ctrl + R Refresh todolists
  • Ctrl + L or Ctrl + F Focus the task search

Commandline Interface

  • To raise the task window use simply: nowfocus
  • If nowfocus has crashed or failed to shut down nicely use nowfocus --force
  • To start timing a task: add the task name as the first positional argument. nowfocus "checking email"
  • To stop timing use nowfocus stop
  • Start with verbose logging use: nowfocus -l 3
  • Start with targeted verbose logging use: nowfocus -s trello

Reporting Issues

Open an issue on Codeberg (Please include as much detail as you can.)

Development

Fork nowfocus source code on Codeberg (GPL)

Install From Source

git clone https://codeberg.org/AltruistEnterprises/nowfocus.git
cd nowfocus
python3 -m venv .venv/nowfocus-build
source .venv/nowfocus-build/bin/activate
pip install -r build-requirements.txt
python3 -m build
pipx install -e --force YOUR_INSTALL_PATH

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nowfocus-0.7.1.tar.gz (406.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nowfocus-0.7.1-py3-none-any.whl (431.7 kB view details)

Uploaded Python 3

File details

Details for the file nowfocus-0.7.1.tar.gz.

File metadata

  • Download URL: nowfocus-0.7.1.tar.gz
  • Upload date:
  • Size: 406.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for nowfocus-0.7.1.tar.gz
Algorithm Hash digest
SHA256 7194ae9eccb06d6712d149056df5ec7f64088155d0cade63332f3ae25e0ad5fb
MD5 b33a56533b433a40191b6484af9b770a
BLAKE2b-256 12a5bc5d6d7181ec92a2280e3179facb69fb19f15822e7563c5aacf246de99d3

See more details on using hashes here.

File details

Details for the file nowfocus-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: nowfocus-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 431.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for nowfocus-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 753ffc089f009c03783e81ecefb7cb77483b10d275da0c2a4a053f1bbd1e17bf
MD5 ee80d6ba86fe90d090bc6117d5879403
BLAKE2b-256 5d85a80c40f1d7933a94a9d91d740bebec6a11f61651cd05d43bb0530a837530

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page