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
+34-1Lines changed: 34 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -366,6 +366,7 @@ By editing `appExclusions` in preferences file, you can automatically control wh
366
366
367
367
If you want Stretchly to be paused when specific apps are running, you could have this value (breaks are paused when Skype or Atom are running):
368
368
369
+
Linux
369
370
```
370
371
"appExclusions": [
371
372
{
@@ -379,8 +380,23 @@ If you want Stretchly to be paused when specific apps are running, you could hav
379
380
]
380
381
```
381
382
383
+
Windows
384
+
```
385
+
"appExclusions": [
386
+
{
387
+
"rule": "pause",
388
+
"active": true,
389
+
"commands": [
390
+
"librewolf.exe",
391
+
"masseffectlauncher.exe"
392
+
]
393
+
}
394
+
]
395
+
```
396
+
382
397
If you want Stretchly to be running when specific apps are as well, you could have this value (breaks are paused when Skype or Atom are not running):
383
398
399
+
Linux
384
400
```
385
401
"appExclusions": [
386
402
{
@@ -394,7 +410,23 @@ If you want Stretchly to be running when specific apps are as well, you could ha
394
410
]
395
411
```
396
412
397
-
You can specify multiple values, (as `appExclusions` is array) and Stretchly will take the first one that is marked as `"active": true`. Multiple `commands` can be specified as well. Commands should be case sensitive, but seems like this is not consistent across platforms. Therefore, sometimes, going all lowercase might be needed (this was noticed on Windows).
413
+
Windows
414
+
```
415
+
"appExclusions": [
416
+
{
417
+
"rule": "resume",
418
+
"active": true,
419
+
"commands": [
420
+
"librewolf.exe",
421
+
"masseffectlauncher.exe"
422
+
]
423
+
}
424
+
]
425
+
```
426
+
427
+
You can specify multiple values, (as `appExclusions` is array) and Stretchly will take the first one that is marked as `"active": true`. Multiple `commands` can be specified as well. Commands should be case sensitive, but seems like this is not consistent across platforms. Therefore, sometimes, going all lowercase might be needed (this was noticed on Windows). Commands can also be substrings, meaning a rule containing "exe" will trigger when there's any running processes that contains "exe" in its name or cmd properties.
428
+
429
+
For Windows, note that paths not specified. This is because on Windows, the API we're using only checks the names of processes being run, which in the vast majority of cases is "process_name.exe". If you try to specify paths, it will not work.
398
430
399
431
You can also specify `appExclusionsCheckInterval` in milliseconds: lower number means more often checks, but also higher CPU usage. Default value is `1000` which is 1 second.
400
432
@@ -611,6 +643,7 @@ You can help to translate Stretchly on [Weblate](https://hosted.weblate.org/enga
611
643
- Lorenzo García Rivera, @lorenzogrv, [lorenzogrv.tech](https://lorenzogrv.tech)
612
644
- Aleh, [@alehpa](https://github.com/alehpa)
613
645
- Philip Wintersteiner, [@Wikiwix](https://github.com/wikiwix)
646
+
- Steven Cai, [@stevencaiOR](https://github.com/stevencaiOR)
614
647
615
648
Also see Github's list of [contributors](https://github.com/hovancik/stretchly/graphs/contributors).
0 commit comments