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: src/configuration.rst
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,35 +13,36 @@ Configuration options for the server, client, and default watchers are listed be
13
13
aw-server-python
14
14
----------------
15
15
16
-
- :code:`host` Hostname to start the server on. Currently only :code:`localhost` or :code:`127.0.0.1` are supported.
17
-
- :code:`port` Port number to start the server on.
18
-
- :code:`storage` Type of storage for holding buckets and events. Supported types are :code:`peewee`, :code:`memory` (useful in testing), or :code:`mongodb` (MongoDB support will be removed in a future version).
16
+
- ``host`` Hostname to start the server on. Currently only ``localhost`` or ``127.0.0.1`` are supported.
17
+
- ``port`` Port number to start the server on.
18
+
- ``storage`` Type of storage for holding buckets and events. Supported types are ``peewee``, ``memory`` (useful in testing), or ``mongodb`` (MongoDB support will be removed in a future version).
19
+
- ``cors_origins`` Comma-separated list of allowed origins for CORS (Cross-Origin Resource Sharing). Useful in testing and development to let other origins access the ActivityWatch API, such as aw-webui in development mode on port 27180.
19
20
20
21
aw-server-rust
21
22
--------------
22
23
23
-
- :code:`host` Hostname to start the server on. Currently only :code:`localhost` or :code:`127.0.0.1` are supported.
24
-
- :code:`port` Port number to start the server on.
25
-
- :code:`cors` List of allowed origins for CORS (Cross-Origin Resource Sharing). Useful in testing and development to let other origins access the ActivityWatch API, such as aw-webui in development mode on port 27180.
24
+
- ``host`` Hostname to start the server on. Currently only ``localhost`` or ``127.0.0.1`` are supported.
25
+
- ``port`` Port number to start the server on.
26
+
- ``cors`` List of allowed origins for CORS (Cross-Origin Resource Sharing). Useful in testing and development to let other origins access the ActivityWatch API, such as aw-webui in development mode on port 27180.
26
27
27
28
aw-client
28
29
---------
29
30
30
-
- :code:`server.hostname` Hostname of the server to connect to.
31
-
- :code:`server.port` Port number of the server to connect to.
32
-
- :code:`client.commit_interval` How often to commit events to the server (in seconds).
31
+
- ``server.hostname`` Hostname of the server to connect to.
32
+
- ``server.port`` Port number of the server to connect to.
33
+
- ``client.commit_interval`` How often to commit events to the server (in seconds).
33
34
34
35
aw-watcher-afk
35
36
--------------
36
37
37
-
- :code:`timeout` Time in seconds after which a period without keyboard or mouse activity is considered to be AFK (away from keyboard).
38
-
- :code:`poll_time` Time in seconds between checks for activity.
38
+
- ``timeout`` Time in seconds after which a period without keyboard or mouse activity is considered to be AFK (away from keyboard).
39
+
- ``poll_time`` Time in seconds between checks for activity.
39
40
40
41
See `aw_watcher_afk/config.py <https://github.com/ActivityWatch/aw-watcher-afk/blob/master/aw_watcher_afk/config.py>`_ for the default config values.
41
42
42
43
aw-watcher-window
43
44
-----------------
44
45
45
-
- :code:`poll_time` Time in seconds between window checks.
46
-
- :code:`exclude_title` Don't track window titles
47
-
- :code:`strategy_macos` The strategy to use on macOS to fetch the active window, can be "swift", "jxa" or "applescript". Swift strategy is preferred.
46
+
- ``poll_time`` Time in seconds between window checks.
47
+
- ``exclude_title`` Don't track window titles
48
+
- ``strategy_macos`` The strategy to use on macOS to fetch the active window, can be "swift", "jxa" or "applescript". Swift strategy is preferred.
0 commit comments