polybar-break-timer
Take a break
Last updated 2 years ago by tiagodanin .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install polybar-break-timer 
SYNC missed versions from official npm registry.

Polybar Break Timer

Take a break

image

  • Mouse scroll = Set Time
  • Click Left = Enable
  • Click Right = Disable

Inspired in gnome-break-timer.

Installation

This is a Node.js module available through the npm registry. It can be installed using the npm or yarn command line tools.

npm install polybar-break-timer -g

Usage

Polybar Config:

; Polybar Break Timer
[module/breaktimer]
type = custom/script
format-prefix = "Break Timer "
format-foreground = ${colors.verdeclaro}
exec = polybar-break-timer $HOME/.config/polybar/.env/break-timer 20
click-left = echo left >> $HOME/.config/polybar/.env/break-timer
click-middle = echo middle >> $HOME/.config/polybar/.env/break-timer
click-right = echo right >> $HOME/.config/polybar/.env/break-timer
scroll-up = echo scrollUp >> $HOME/.config/polybar/.env/break-timer
scroll-down = echo scrollDown >> $HOME/.config/polybar/.env/break-timer
tail = true

And create a file in $HOME/.config/polybar/.env/break-timer.

Dependencies

  • node-notifier: A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)
  • polybar-helpers: Polybar - Helpers to create plugin/module using NodeJS
  • tail: tail a file in node

License

MIT

Current Tags

  • 1.0.2                                ...           latest (2 years ago)

3 Versions

  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |