Skip to content

Commit

Permalink
added usage flags and minor style changes to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme Ferreira committed Sep 16, 2018
1 parent 611ba3f commit 3cf8562
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,24 @@ sudo mv /tmp/sloop /usr/local/bin/

## Usage


### Flags
```bash
Usage of sloop:
-activationMargin int
Jump activation margin (default 10)
-d Daemonize and return control
-hz int
Pointer position check frequency (default 50)
-jumpDelta int
Jump delta distance from activation margin (default 1)
```

Manually with



```bash
sloop&
sloop -d&
```



Automatically with .xinitrc
Automatically with X
```bash
echo 'sloop&' >> ~/.xinitrc
echo 'sloop -d &' >> ~/.xinitrc
```

0 comments on commit 3cf8562

Please sign in to comment.