Add output for lunch break duration and rework config lunch option

This commit is contained in:
Marko Korhonen 2023-11-23 19:13:39 +02:00
parent 29ded9426b
commit 71e8352ecf
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
7 changed files with 31 additions and 30 deletions

View file

@ -8,6 +8,10 @@
# usually ~/.config/wtc/config.toml
# For windows, I don't know.
# Remove or set as "00:00" if you don't have an unpaid lunch break
# or if you normally log your lunch break hours
lunchBreakDuration = "00:30"
# The language of the application.
# Currently supported languages are "en", "fi"
language = "en"
@ -20,10 +24,6 @@ timestampFormat = "YYYY-MM-DD HH:mm"
# This section is for default values for inputs
[defaults]
# Set as "00:00" if you don't have an unpaid lunch break
# or if you normally log your lunch break hours
lunchBreakDuration = "00:30"
# Your work day duration
workDayDuration = "07:30"
@ -41,6 +41,3 @@ workDayDuration = true
startTime = true
stopTime = true
logged = true
# It is assumed that you didn't have lunch if this is false
hadLunch = true