diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-03-12 19:44:04 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-03-12 19:44:04 +0100 |
commit | a1bae69d54bfebbdb99c4beb644ebc755a75da24 (patch) | |
tree | 48507d6e3c092ce018e8e1b39887c38d2b296052 /core/status | |
parent | 8b0ecac59c4fa1d87167f4c1358c2662be3a63aa (diff) |
Diffstat (limited to 'core/status')
-rwxr-xr-x | core/status | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/core/status b/core/status new file mode 100755 index 0000000..6aad04b --- /dev/null +++ b/core/status @@ -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 "lap $lap, $([ $running -eq 1 ] && echo "running" || echo "paused"), $(fmt_time $remaining)" + |