aboutsummaryrefslogtreecommitdiff
path: root/core/state
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-03-12 10:53:38 +0100
committerlonkaars <loek@pipeframe.xyz>2024-03-12 10:53:38 +0100
commit03e617b64a446e6d63f6e92126766874f21b5352 (patch)
treec9aa314874056387a2ab2a477e52ab24fc98baf5 /core/state
parentd59b4d2f4377613719785c2685ceff0a8a0f55ab (diff)
use file instead of folder to store state
Diffstat (limited to 'core/state')
-rwxr-xr-xcore/state2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/state b/core/state
index 580afc6..6aad04b 100755
--- a/core/state
+++ b/core/state
@@ -17,5 +17,5 @@ EOF
}
. "$core_path/update"
-echo "lap $lap, $state, $(fmt_time $remaining)"
+echo "lap $lap, $([ $running -eq 1 ] && echo "running" || echo "paused"), $(fmt_time $remaining)"