Skip to content

Commit 8020ee4

Browse files
committed
Updated README.md with correct config keys
Config keys changed from original upstream. Updated README showing correct keys and correct default values
1 parent e59c0e8 commit 8020ee4

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Click to join: [![Discord](https://img.shields.io/discord/548978799136473106.svg
4040
14. Reboot and see the magic
4141

4242
```toml
43-
[commands.swipe.three]
43+
[swipe.commands.three]
4444
left_up = ""
4545
right_up = ""
4646
up = ""
@@ -50,7 +50,7 @@ down = ""
5050
left = ""
5151
right = ""
5252

53-
[commands.swipe.four]
53+
[swipe.commands.four]
5454
left_up = ""
5555
right_up = ""
5656
up = ""
@@ -60,18 +60,24 @@ down = ""
6060
left = ""
6161
right = ""
6262

63-
[commands.pinch]
63+
[pinch.commands]
6464
in = ""
6565
out = ""
6666

67-
[settings]
68-
pinch.distance = ""
69-
swipe.threshold = ""
67+
[pinch.settings]
68+
threshold = 0.25
69+
one_shot = false
70+
71+
72+
[swipe.settings]
73+
threshold = 0.5
74+
one_shot = true
75+
trigger_on_release = false
7076
```
7177

72-
* `settings.pinch.distance` key sets the distance between fingers where it shold trigger.
73-
Defaults to `0.5` which means fingers should travel exactly half way from their initial position.
74-
* `settings.swipe.threshold` sets the limit when swipe gesture should be executed. Defaults to 100.
78+
* `pinch.settings.threshold` key sets the distance between fingers where it shold trigger.
79+
Defaults to `0.25` which means fingers should travel exactly 25% distance from their initial position.
80+
* `swipe.settings.threshold` sets the limit when swipe gesture should be executed. Defaults to 0.5.
7581

7682
### Repository versions
7783

@@ -115,7 +121,7 @@ one_shot=false
115121
[swipe.settings]
116122
threshold = 0.5
117123
one_shot = true
118-
trigger_on_release = true
124+
trigger_on_release = false
119125
```
120126

121127
Add `gebaard -b` to `~/.config/bspwm/bspwmrc`

0 commit comments

Comments
 (0)