Comments (6)
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.
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.
With pomo pause
it would then be also possible to count the interruptions for a particular pomo.
from pomo.
+1 for stop or pause functionality
from pomo.
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.
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)
- Growl error when pomodoro starts. HOT 10
- Add `pomo initconfig` to set up global preferences
- Admin access HOT 6
- pomo raise error on opensuse 12.2 64bit HOT 2
- How to show the current task detail?
- [Bug] pomo default break time is 25 min not 5 min?? HOT 1
- consider add sound alert when task complete? HOT 4
- 'pomo complete' doesn't stop a task HOT 3
- pomo ls: default to incomplete tasks? HOT 1
- RVM / Archlinux issues HOT 3
- Make tmux background color configurable HOT 1
- pomo installation should pull in libnotify gem on Linux and Windows HOT 2
- Option to require manual completion on tasks
- Exception: "program version required (Commander::Runner::CommandError)" HOT 4
- gem install pomo does not install properly HOT 3
- "a task is already running"... forever HOT 1
- Pomo Doesn't create popup window on osx 10.11.1
- Is this repo active? HOT 1
- You can start multiple pomos and breaks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pomo.