#pomodoro #productivity #daemon

app pomd

A simple configurable pomodoro D-Bus daemon

2 stable releases

1.5.1 Dec 11, 2024
1.4.0 Jan 5, 2024

#219 in Configuration

Download history 9/week @ 2024-09-23 159/week @ 2024-12-09

159 downloads per month

0BSD OR MIT OR Apache-2.0

21KB
167 lines

pomd: pomodoro daemon

Crates.io Version

This program provides a simple pomodoro daemon for linux. Recommended to be used with pomc client

Features

  • D-Bus interface for pomodoro functionality
  • Configurable:
    • Duration of work period, short breaks, and long breaks
    • Number of iterations before long breaks
    • Enable/disable notifications

D-Bus Interface

image

Installation

Via crates.io

cargo install pomd

From Source

cargo install --path .

Usage

To use the program, simply run pomd wherever you run startup programs. It requires a D-Bus session, so if you use xinit/startx you will need to start the program after launching your session.

The pomc client application can be used to interact with the daemon, or you can interact with the interface in your own scripts/programs.

Configuration

The first time the program is run, a config.toml file will be created in your configuration directory (this is handled by the confy crate, and is probably $XDG_CONFIG_HOME/config.toml). The keys are relatively self-explanatory, and all of the "duration" values should be specified in seconds.

Dependencies

~10–39MB
~635K SLoC