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/config | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 core/config (limited to 'core/config') diff --git a/core/config b/core/config new file mode 100644 index 0000000..34c96b8 --- /dev/null +++ b/core/config @@ -0,0 +1,8 @@ +#!/bin/sh +# initialize default configuration values +export POMODORO_STATE_PATH="${POMODORO_STATE_PATH:-$XDG_CACHE_HOME/$progname}" # ~/.cache/dppt +export POMODORO_NORMAL_DURATION="${POMODORO_NORMAL_DURATION:-$(( 25 * 60 ))}" # 25 minutes +export POMODORO_BREAK_SHORT_DURATION="${POMODORO_BREAK_SHORT_DURATION:-$(( 5 * 60 ))}" # 5 minutes +export POMODORO_BREAK_LONG_DURATION="${POMODORO_BREAK_LONG_DURATION:-$(( 15 * 60 ))}" # 15 minutes +export POMODORO_BREAK_SHORT_INTERVAL="${POMODORO_BREAK_INTERVAL:-2}" # every other lap +export POMODORO_BREAK_LONG_INTERVAL="${POMODORO_BREAK_INTERVAL:-6}" # every 3rd break -- cgit v1.2.3