Skip to content

Ulauncher/ulauncher-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timer Extension

Basic usage

Time formats

The timer extension accepts times in two formats:

  • Time duration in hours, minutes, and/or seconds
  • Time of day (absolute time in the next 24 hours)

Examples

Time duration
  • 3m = 3 minutes
  • 5h = 5 hours
  • 2m30s = 2 minutes and 30 seconds
Time of day
  • 1:30pm = 1:30 PM
  • 720a = 7:20 AM

Persistent timer mode

Choose Alert periodically until closed in settings to make timers harder to ignore. Close the timer notification to stop persistent timer notifications. A timer can also be stopped by selecting it with Ulauncher.

Running tests

Setup

git clone https://github.com/Ulauncher/Ulauncher
ULAUNCHER_PTH=$(python -c 'import site; print(site.getsitepackages()[0])')/ulauncher.pth
realpath Ulauncher > $ULAUNCHER_PTH

pip install websocket-client python-Levenshtein
pip install pytest pytest-pep8 freezegun

Run tests

pytest