From e6c1cacb60010ec75e02cf72acf34278417670fd Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 11 Mar 2024 18:33:02 +0100 Subject: initial commit (basic functionality) --- core/state | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 core/state (limited to 'core/state') diff --git a/core/state b/core/state new file mode 100755 index 0000000..fcf327d --- /dev/null +++ b/core/state @@ -0,0 +1,21 @@ +#!/bin/sh +[ "$1" = "info" ] && echo "show timer" && exit 2 +. "$core_path/lib" + +usage() { + cat << EOF +$subcmd -- show timer + +usage: + $subcmd [options] + +options: + -h, --help show help + +actions: +EOF +} + +. "$core_path/update" +echo "[$state] $lap: ${remaining}s" + -- cgit v1.2.3