aboutsummaryrefslogtreecommitdiff
path: root/core/reset
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-03-11 18:33:02 +0100
committerlonkaars <loek@pipeframe.xyz>2024-03-11 18:33:02 +0100
commite6c1cacb60010ec75e02cf72acf34278417670fd (patch)
tree97e8f8042f4d8461e7cec9f403787bad20ffde9e /core/reset
initial commit (basic functionality)
Diffstat (limited to 'core/reset')
-rwxr-xr-xcore/reset5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/reset b/core/reset
new file mode 100755
index 0000000..5492dce
--- /dev/null
+++ b/core/reset
@@ -0,0 +1,5 @@
+#!/bin/sh
+[ "$1" = "info" ] && echo "reset the timer and lap counter" && exit 2
+
+rm -rf "$POMODORO_STATE_PATH"
+