

- #Stretchly break timer mac how to
- #Stretchly break timer mac install
- #Stretchly break timer mac update
- #Stretchly break timer mac code
- #Stretchly break timer mac windows
Tested on macOS, Windows and Ubuntu Linux. It should run on any electron supported platform.
#Stretchly break timer mac install
Clone the repo, run npm install and then simply run npm start to start stretchly. You can create an installer by running npm run pack or npm run dist after npm install -no-save. On Windows, you can install stretchly for all users silently by running this as administrator: installer.exe /S /allusers.
#Stretchly break timer mac update
On macOS you can install stretchly by running brew update & brew cask install stretchly. Latest installers for macOS, Windows, Linux and FreeBSD can be found here.

In the config file, set notifyNewVersion: false, to disable new version notification. In the config file, you can edit microbreakPostpone and breakPostpone to enable or disable ability to postopne breaks, microbreakPostponeTime and breakPostponeTime to change postopone time in milliseconds, microbreakPostponesLimit and breakPostponesLimit to change number of allowed postpones per break, and finally, microbreakPostponableDurationPercent and breakPostponableDurationPercent to change percentage of break in which user can postpone the break. MorningHour: "sunrise", posLatitude: 42.3, posLongitude: 71 Editing postpone functionality Settings to pause until the actual sunrise in your area.Į.g. Otherwise, you can set morningHour: "sunrise" and set posLatitude, posLongitude in In the config file you can set the morningHour setting to pause until that hour this or next day Editing sunrise time to pause breaks until morning In the config file, change breakNotificationInterval: 30000, to whatever value you want. Editing break/microbreak notification interval In the config file, change useIdeasFromSettings: false, to useIdeasFromSettings: true, and editīreakIdeas and microbreakIdeas.
#Stretchly break timer mac code
Related code looks like this: const dir = app.getPath('userData')Ĭonst settingsFile = `$/config.json`
#Stretchly break timer mac how to
To learn more about how to find it, read this or use Ctrl/Cmd + d shortcut in About window. Advanced settingsĪll settings are saved in a JSON file. You can view Tutorial again anytime from About window. On firts run, stretchly will present you with Welcome window, where you can set your locale and read Tutorial.

you can choose from different color schemes.you can enable/disable ability to postpone breaks.you can enable/disable strict mode (breaks can't be finished early).you can set the duration and interval of breaks.Microbreaks and breaks can be customized: Tray menu displays the time and type of next break as well. The tray tooltip shows information about how much time is left till the next (micro)break, the number of microbreaks until the next break, or the time remaining in pause till breaks resume. You can also skip to the next break or microbreak anytime from the menu, or reset (restart) breaks. Also, Do Not Disturb mode is respected on those platforms. On Windows and macOS, you can set the app to start at login. You can pause/resume stretchly's break reminders. Or by using Ctrl/Cmd + x keyboard shortcut (except finishing early in strict mode). After a specific time interval passes, you can finish it early.īoth actions are available by clicking the link at the bottom of window When break/microbreak starts, you can postpone it once for 5 and 2 minutes respectively. User gets notified 30 seconds before break (and 10 seconds before microbreak) to be able to prepare to pause the work. Stretchly is a cross-platform electron app that reminds you to take breaks when working on your computer.īy default, it runs in your tray and displays a reminder window containing an idea for a microbreak for 20 seconds every 10 minutes.Įvery 30 minutes, it displays a window containing an idea for a longer 5 minute break.
