adamtait / ciao

CIAO: Curb Internet Addiction by Omission (pronounced: ch-ow)
GNU General Public License v3.0
4 stars 0 forks source link

Pomodoro timer #2

Open adamtait opened 6 years ago

adamtait commented 6 years ago

example: ciao on 30.minutes

Have ciao turn on for some time period. Folks like to focus for chunks of time, so having a command for that use case would be great.

adamtait commented 6 years ago

Implementing this while handling sudo might be tricky. Ideally, we could fork a bash process that sleeps for determined-length-of-time, and that process runs as root so sudo is not required.

Here's some stackoverflow on bash process forking.