Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commitd843e6a66a11e07595c8c4964fb8a1d343172990 (patch)
Author
 Alexis Maiquez Murcia <almamu@almamu.com>
2019-02-19 17:08:46 +0100
Committer
 Alexis Maiquez Murcia <almamu@almamu.com>
2019-02-19 17:08:46 +0100
Filesd1126cb0e6975ae678cd021c004ccf51f02b3079
lead-d843e6a66a11e07595c8c4964fb8a1d343172990.tar
lead-d843e6a66a11e07595c8c4964fb8a1d343172990.tar.gz
lead-d843e6a66a11e07595c8c4964fb8a1d343172990.zip
Parentbb9187523dcc0f7ba3adfe4634ba2f78897416f4 (diff)
Updated README.md
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
1 files changed, 18 insertions, 21 deletions
-rw-r--r--README.md39
diff --git a/README.md b/README.md
index 258789d..790ec39 100644
--- a/README.md
+++ b/README.md
@@ -53,30 +53,27 @@ On the first run lead will look into these dirs for a conf-file. The first one f
If none of these exists, it will create `~/.config/lead/lead.conf` with default values for each screen, ie:
[eDP1]
- bottom-action=
- bottom-interval=0
- bottomLeft-action=
- bottomLeft-interval=0
- bottomRight-action=
- bottomRight-interval=0
- left-action=
- left-interval=0
- right-action=
- right-interval=0
- top-action=
- top-interval=0
- topLeft-action=
- topLeft-interval=0
- topRight-action=
- topRight-interval=0
+ bottom=
+ bottomLeft=
+ bottomRight=
+ left=
+ right=
+ top=
+ topLeft=
+ topRight=
-To enable a action for a sensor, simply add a command to the corner or side:
-
- bottomLeft-action=chromium
+Sensors have their own sections in the configuration, so if you want to add an action to a corner you can do so:
+ [eDP1]
+ bottomLeft=SensorName
-The intervals are set in milliseconds. For example, to set chromium to open only after the mouse has been in the corner for 1 second, do:
+ [SensorName]
+ enterAction=chromium
+ exitAction=firefox
+ enterDelay=5000
+ exitDelay=1000
- bottomLeft-interval=1000
+Delays are configured in miliseconds and dictate the amount of time the mouse has to be in the sensor to trigger the specific action.
+In the case of exitDelay, this delay affects how much time the mouse has to be in the sensor for it to trigger the exitAction when the mouse moves out of the sensor.
The configuration file is monitored and changes are applied automatically.