Summary Files Commits Branches @commit @diff @stats
path: root / README.md
diff options
context:
space:
mode:
Commit7e9c4e1b9bfa3966cca992256b885f75c8660753 (patch)
Author
 MageJohn <MageJohn@users.noreply.github.com>
2019-02-19 16:59:06 +0000
Committer
 GitHub <noreply@github.com>
2019-02-19 16:59:06 +0000
Filesd1126cb0e6975ae678cd021c004ccf51f02b3079 /README.md
lead-7e9c4e1b9bfa3966cca992256b885f75c8660753.tar
lead-7e9c4e1b9bfa3966cca992256b885f75c8660753.tar.gz
lead-7e9c4e1b9bfa3966cca992256b885f75c8660753.zip
Parenta1ddbe5b94b21877c1a082256857d2e6feb692fe (diff)
Parentd843e6a66a11e07595c8c4964fb8a1d343172990 (diff)
Merge pull request #1 from Almamu/master
Merge changes from Almamu
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.