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 project time tracker build with python + GTK 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 systems
  • Infinitely nestable lists
  • Inactivity detection that automatically pauses time tracking
  • Pomodoro timer
  • Task prioritization
  • Time targets: set a minimum or maximum time for any task or list of tasks and get reminded to follow though
  • Randomness interrupt bell (optional) to keep you on track with tracking your time
  • Keyboard-driven interface
  • Offline to-do list cache
  • CLI
  • Run a command (or launch an application) when a task is started

Currently Supported To-do List Backends

Currently Supported Time Tracker Backends

Installation (using pipx)

Run the following in terminal to install and setup:

# Install dependencies
sudo apt install pip pipx install gir1.2-appindicator3-0.1 meson libdbus-glib-1-dev patchelf python3.12-venv libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev

# Set up pipx
pipx ensurepath

# Install nowfocus
pipx install nowfocus

# Enter application directory
cd ~/.local/pipx/nowfocus

# Copy .desktop and icon to .local/share 
cp src/desktop-extras/nowfocus.desktop ~/.local/share/applications/nowfocus.desktop
cp src/desktop-extras/nowfocus.svg ~/.local/share/icons/nowfocus.png
cp src/desktop-extras/nowfocus.svg ~/.local/share/icons/hicolor/scalable/apps/nowfocus.svg

# Setup autostart
cp src/desktop-extras/nowfocus.desktop ~/.config/autostart/nowfocus.desktop

# Set Super space as keybinding to raise task window 
chmod +x src/desktop-extras/set_gsettings_keybinding.sh

src/desktop-extras/set_gsettings_keybinding.sh "Open nowfocus" nowfocus "<Super>space"

# and now Focus!
nowfocus

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 task (or make a new task with current search phrase if no results)
  • Ctrl + P Pause current task
  • Ctrl + D Pause current task and mark it Done
  • Ctrl + X Cancel current task
  • 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

Development

Install from Source

  • Install dependencies from above.
  • Clone this repo somewhere (referred to as YOUR_INSTALL_PATH)
  • Change to YOUR_INSTALL_PATH directory with cd YOUR_INSTALL_PATH/nowfocus
  • build python module with python3 -m build (this should be done in a venv and will require some dependecies...)
  • pipx install -e --force YOUR_INSTALL_PATH/monotask/

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.2.5.tar.gz (398.7 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.2.5-py3-none-any.whl (420.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nowfocus-0.2.5.tar.gz
Algorithm Hash digest
SHA256 a5ac860a7c43095bcdf7c9b07e763028f68f8794383388ef79a02118ef204ee9
MD5 b6e950c9f6b3a591fea2b1adb03dfd7f
BLAKE2b-256 f0acb8106fb357a82b243f7f22616b21d8417b0f43538c36b1d38007c809d2b8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nowfocus-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 da40e7d0541f6cb81ba7166084ae20d66aab550d950db5ba117ab4aa2c7bb930
MD5 374a51bc89dc8c8b4f52ae4195c7835c
BLAKE2b-256 b4bc66c5871957665cb48191fe8c2a44fe253bc85b89b48896d1d6bb5e55487c

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