You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ Please see http://electron.atom.io/docs/api/tray/ for Electron's Tray Linux spec
50
50
51
51
For Natural breaks, you might need some packages too (`libxss-dev`).
52
52
53
-
If *Stretchly* is not starting, you might need to run `sudo sysctl kernel.unprivileged_userns_clone=1`. Read more [here](https://github.com/electron/electron/issues/17972). Depending on your distro, you probably want to do something similar to this, so the settings are kept after reboot: Add `kernel.unprivileged_userns_clone=1` to `/etc/sysctl.d/00-local-userns.conf` and reboot.
53
+
If *Stretchly* is not starting, you might need to run `sudo sysctl kernel.unprivileged_userns_clone=1`. Read more [here](https://github.com/electron/electron/issues/17972). Depending on your distro, you probably want to do something similar to this, so the preferences are kept after reboot: Add `kernel.unprivileged_userns_clone=1` to `/etc/sysctl.d/00-local-userns.conf` and reboot.
54
54
55
55
### Running from source
56
56
@@ -62,7 +62,7 @@ You can create a custom installer by running `npm run pack` or `npm run dist` af
62
62
63
63
## Default behavior
64
64
65
-
When you run *Stretchly* for the first time, you are presented with a Welcome window that allows you to change the language, review the settings, view the online tutorial or simply continue with the default settings.
65
+
When you run *Stretchly* for the first time, you are presented with a Welcome window that allows you to change the language, review the preferences, view the online tutorial or simply continue with the default preferences.
66
66
67
67
<imgsrc="welcome.png"height="340">
68
68
@@ -120,7 +120,9 @@ To make sure that all works as expected, it's always good idea to check that for
120
120
121
121
After you make changes to preferences files, some of the values being shown in Preferences or elsewhere might show incorect value, as the UI is expecting specific values and is not handling cases where user makes manual changes to preferences file.
122
122
123
-
Some of the extra settings are available in Contributor Preferences for [Contributors](#contributor-preferences). Those are marked by [](#contributor-preferences) badge.
123
+
Some of the extra preferences are available in Contributor Preferences for [Contributors](#contributor-preferences). Those are marked by [](#contributor-preferences) badge.
124
+
125
+
Preferences marked with  might not work correctly and might break *Stretchly*. Use at own risk.
124
126
125
127
**Note:** Before 1.0, Mini Breaks and Long Breaks were called Microbreaks and Breaks, respectively. To keep the upgrade smooth they still use that name in preferences file and in code.
126
128
@@ -136,7 +138,7 @@ In the preferences file, change `breakNotificationInterval: 30000,` to whatever
136
138
#### Editing sunrise time to pause breaks until morning
137
139
In the preferences file you can set the `morningHour` setting to pause until that hour today or the next day
138
140
Otherwise, you can set `morningHour: "sunrise"` and set `posLatitude`, `posLongitude` in
139
-
settings to pause until the actual sunrise in your area.
141
+
preferences to pause until the actual sunrise in your area.
140
142
E.g. if you live in Boston you would set:
141
143
`morningHour: "sunrise",`
142
144
`posLatitude: 42.3,`
@@ -187,7 +189,7 @@ To specify how solid the break window should be when Theme transparency is enabl
To specify the size of the break window, set the value of `breakWindowHeight` and `breakWindowWidth` from `0` to `0.99` (which is in turn 0 to 99% of the size of the screen). Don't set 100% as that's fullscreen.
189
191
190
-
#### Make Stretchly show breaks as regular windows [](#contributor-preferences)
192
+
#### Make Stretchly show breaks as regular windows [](#contributor-preferences)
191
193
192
194
If you want Stretchly breaks to act as regular windows (have a titlebar, turn off always on top, be minimizable and focusable) set `showBreaksAsRegularWindows` to `true`.
0 commit comments