Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/Junker/stumpwm-tomato
- Owner: Junker
- License: mit
- Created: 2023-03-22T11:01:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-18T15:29:40.000Z (12 months ago)
- Last Synced: 2024-06-12T00:10:17.029Z (5 months ago)
- Language: Common Lisp
- Size: 11.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-stumpwm - tomato - Advanced Pomodoro timer module for StumpWM (Modules)
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)