GithubHelp home page GithubHelp logo

pomodoro-mac's Introduction

Pomodoro Timer

A simple Pomodoro timer script for focusing on work and taking breaks.

Usage

  1. Clone this repository and navigate to the script directory: cd Pomodoro-Mac
  2. Make the script executable: chmod +x pomodoro.sh
  3. Run the script: ./pomodoro.sh

Features

  • Two functions for work and rest periods: work and rest
  • A menu to choose between work and rest periods, and exit the script
  • Uses timer command to set a timer for the chosen period
  • Uses terminal-notifier command to display a notification when the period is up
  • Plays a sound to signal the start of each period using afplay command
  • Includes a help message that displays the available options and their corresponding numbers

Installation

  1. Clone this repository: git clone https://github.com/muditbhargava66/Pomodoro-Mac.git
  2. Navigate to the script directory: cd Pomodoro-Mac
  3. Make the script executable: chmod +x pomodoro.sh
  4. Run the script: ./pomodoro.sh

Configuration

  1. Edit the script to change the image path in the terminal-notifier command
  2. Edit the script to change the sound file path in the afplay command

Troubleshooting

  1. Check that the afplay command is installed on your system. If not, install it using Homebrew: brew install afplay
  2. Check that the image file path in the terminal-notifier command is correct
  3. Check that the sound file path in the afplay command is correct

Acknowledgments

Thanks to Mudit Bhargava for creating this script!

pomodoro-mac's People

Contributors

muditbhargava66 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.