diff --git a/cmd/break.go b/cmd/break.go index e6013d7..6c87141 100644 --- a/cmd/break.go +++ b/cmd/break.go @@ -16,8 +16,7 @@ var breakCmd = &cobra.Command{ Use: "break", Short: "Start a break", Run: func(cmd *cobra.Command, args []string) { - length := viper.GetDuration("breaklength") - viper.Set("lastbreak", time.Now().Add(length)) + viper.Set("lastbreak", time.Now()) viper.WriteConfig() }, }