pogo

command module
v0.0.0-...-7741ed3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

pogo

Pogo is a simple pomodoro technique tool. You start new session and nothing will distract you.

Installation

go get -u github.com/fullpipe/pogo

Usage

Everything that pogo does is modifying /etc/hosts. So it requires write permissions. I persоnaly start it using sudo.

sudo pogo

or to run it in background

sudo -b pogo

then start your pomodoro session from tray

systray example

Configuration

By default pogo's session contains 4 pomodoro sessions: 25 mins of work and 5 mins of rest.
This could be modified by config file.

# ~/.config/pogo/pogo.yaml
pomodoro:
  work: 25 # work time
  rest: 5 # rest time
  repeats: 4
work_ip: 127.0.0.1 # ip address for distracting domains
domains:
  good: # list of good domains that should be always available
    - youtube.com
  bad: # list of bad domains which will be added to basic distracting domains
    - facebook.com

Basic distracting domains

TODO

  • wrap it in app?
  • no sudo solution
  • icons

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址