Skip to main content

Stylish customizable CLI Pomodoro timer

Project description

Pomotime

Pomotime is a simple, customizable terminal-based Pomodoro timer that helps you manage your work and break sessions effectively. It offers flexible settings for session durations, customizable visual styles, fonts and even sound notifications.

Features

  • Customizable Durations: Define your own durations for work sessions, short breaks, and long breaks.
  • Customizable Work & Break Sequences: Set your work and break sequences, for example: "wswl" is "Work, Short Break, Work, Long Break"
  • Flexible Settings: Choose from different fonts, font styles and colors for the timer display.
  • Sound Alerts: Configure custom sound notifications to signal the end of each session.
  • Cross-Platform: Works on macOS, Windows, and Linux.

Installation

Install via pip:

pip install pomotime

Install via pipx (for Arch and etc.):

pipx install pomotime

Usage

After installation, you can run pomotime from the terminal. Below are some example commands:

  • Start a Pomodoro sequence with the default settings:

    pomotime
    
  • Customize session durations:

    pomotime -w 30 -s 10 -l 20
    
  • Customize Pomodoro sequence and work duration:

    pomotime -w 45 wlwswl
    
  • Disable sound notifications:

    pomotime --no-sound
    
  • Display the paths to the configuration file and sounds folder:

    pomotime --config
    

Configuration

Pomotime uses a TOML configuration file to store customizable settings. By default, the configuration file is located at:

~/.config/pomotime/pomotime.toml

There is full documentation inside of pomotime.toml

Example Configuration File

[settings]
block_mode = true
solid_mode = false
font = "block"
text_colour_high_percent = "#FFFFFF"
text_colour_mid_percent = "#888888"
text_colour_low_percent = "#666666"
message_color = "yellow"
timer_high_percent = 0.3
timer_low_percent = 0.15

Custom Sounds

Pomotime allows you to use your own sound files for session notifications. By default, the sound file is located at:

~/.local/share/pomotime/sound.wav

You can replace this file with your own .wav file, or edit the pomotime.toml configuration file to point to a different location.

Acknowledgements

Pomotime is based on the enhanced version of timer-cli by 1Blademaster.

Special thanks to the following projects for inspiration:

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

License

Pomotime is licensed under the Apache 2.0 License. See the LICENSE file for more details.


Made with ❤️ by zabojeb

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

pomotime-1.0.2.tar.gz (32.9 kB view details)

Uploaded Source

Built Distribution

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

pomotime-1.0.2-py3-none-any.whl (54.5 kB view details)

Uploaded Python 3

File details

Details for the file pomotime-1.0.2.tar.gz.

File metadata

  • Download URL: pomotime-1.0.2.tar.gz
  • Upload date:
  • Size: 32.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for pomotime-1.0.2.tar.gz
Algorithm Hash digest
SHA256 013c8c9389e456d434616ca17d384930fd2cbaa8dd670b748de47dad8e19a80a
MD5 354b286dc93faddfe4cc1f5241a87936
BLAKE2b-256 b61014f907416361e91f94ab0302ca65ae539732bb9998fe396689d557973691

See more details on using hashes here.

File details

Details for the file pomotime-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pomotime-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 54.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for pomotime-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a8f2b71ac0f72698d3a515f994d80edff5d65df9e7b8efcd7ae69d05ad80a126
MD5 e00c0d1a4844845979933785383e696d
BLAKE2b-256 e794d930f5ebf8ae949f30e918b29450b3aa8aeb18de6e09f0333589e69255d6

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