Skip to content

markclowes/snore

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snore - sleep with feedback

SYNOPSIS

snore [-v] [NUMBER[SUFFIX]...]

snore pause for NUMBER seconds. SUFFIX may be 's' for seconds (default), 'm' for minutes, 'h' four hours or 'd' for days. Given two or more arguments, pause for the amount of time specified by the sum of their values. A visual feedback is given by printing the flowing of time in both ascending and descending order. If no arguments are given, snore pauses for 1d (one day).

Sample output: 0d 0h 0m 3.4s | 0d 23h 59m 56.6s

This fork has been modified to tick at 10Hz (instead of 100Hz) and display seconds with 1dp (instead of 3dp).

SHORTCUTS

Enter or Ctrl-j  show split time

Ctrl-s           pause execution

Ctrl-q           resume execution

Ctrl-c           stop and exit

Installation

Edit config.mk to match your local setup (snore is installed into the /usr/local namespace by default).

Afterwards enter the following command to build and install snore (if necessary as root):

make clean install

Status

snore is considered complete and no further development is expected to happen.

About

sleep with feedback

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 49.6%
  • Makefile 36.2%
  • Roff 14.2%