GithubHelp home page GithubHelp logo

Add `pomo stop` about pomo HOT 6 OPEN

stephenmckinney avatar stephenmckinney commented on August 18, 2024
Add `pomo stop`

from pomo.

Comments (6)

 avatar commented on August 18, 2024

Yeah, we need 'pomo stop'. Now I use this script to kill the running pomo.

kill -9 $(ps aux | awk '/bin\/pomo/ {print $2}') 2> /dev/null
sed 's/running: true/running: false/g' ~/.pomo > ~/.pomo_temp
mv ~/.pomo_temp ~/.pomo
echo '#[default]#[fg=green]00:00#[default]' > ~/.pomo_stat

from pomo.

stephenmckinney avatar stephenmckinney commented on August 18, 2024

Good point on reseting ~/.pomo_stat. I updated the ticket.

I'd like to write a pid file on fork and use that to kill the process, I just haven't had time to code it up. A pomo pause would be great too.

from pomo.

jhwist avatar jhwist commented on August 18, 2024

With pomo pause it would then be also possible to count the interruptions for a particular pomo.

from pomo.

cbfrance avatar cbfrance commented on August 18, 2024

+1 for stop or pause functionality

from pomo.

stephenmckinney avatar stephenmckinney commented on August 18, 2024

Unless there are any objections, I am going to make pomo run exclusively as a background process and eliminate pomo start --progress. This will make this feature much easier to implement and it seems no one is using it as a foreground process anyway.

from pomo.

jhwist avatar jhwist commented on August 18, 2024

Well, yes I am using it ... on Windows, gasp, as Ruby lacks native fork support there and running in foreground is a nice workaround.
Having said that, go ahead and kill --progress as I'd rather see tomato support first. I can come up with a hack for Windows later.

from pomo.

Related Issues (20)

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.