Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Junker/stumpwm-tomato

Advanced Pomodoro timer module for StumpWM
https://github.com/Junker/stumpwm-tomato

Last synced: 3 months ago
JSON representation

Advanced Pomodoro timer module for StumpWM

Awesome Lists containing this project

README

        

# StumpWM Tomato

Advanced Pomodoro timer module for StumpWM

## Installation

```bash
cd ~/.stumpwm.d/modules/
git clone https://github.com/Junker/stumpwm-tomato tomato
```

```common-lisp
(stumpwm:add-to-load-path "~/.stumpwm.d/modules/tomato")
(load-module "tomato")
```

## Usage

```common-lisp
(tomato:init)
(setf stumpwm:*screen-mode-line-format* "%t")
```

### Commands

- `tomato-work` - start work
- `tomato-break` - start break
- `tomato-postpone` - postpone break
- `tomato-status` - show tomato status

### Parameters

- `tomato:*short-break-period*` - Short break in minutes after almost every work period.
- `tomato:*long-break-period*` - Long break in minutes after *max-tomatos* short breaks.
- `tomato:*work-period*` - Amount of time in minutes of working before taking a break.
- `tomato:*postpone-period*` - Amount of time in minutes to postpone the break.
- `tomato:*max-tomatoes*` - A long break will begin after *max-tomatoes* tomatoes.

## Modeline

`%t` - tomato formatter

### Modeline mouse interaction

- **left button:** postpone break (when in break mode)