Git Product home page Git Product logo

Comments (2)

Arthurcn96 avatar Arthurcn96 commented on September 11, 2024

Hello There!

I was thinking about solving this issue and I was wondering:

  • Is it okay to create a 'fm.ini' as the config file?
  • Which command do you have in mind to save the values in the config file?

from focusedme.

scopeta avatar scopeta commented on September 11, 2024

Hey Arthur,
I was thinking about removing the following lines that set default values from the main .py file and move them to a fm.ini. 

NUM_ROUNDS = 3
LENGHT_ARGS = {"focus_time": 25, "short_break": 5, "long_break": 25}

Those are classic values for Pomodoro timers, but someone may want their default values increased to 30/ 45 mins focused sessions, or enjoy a 10 mins break ;)

What do you think about having another argument option (e.g. -s) that save the lastest values passed in the command line?

Thanks!
Fabio

from focusedme.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.