Skip to content

Commit

Permalink
add API
Browse files Browse the repository at this point in the history
  • Loading branch information
godbout committed Nov 24, 2022
1 parent 6637064 commit dafedc9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ Scroll with:
| to the bottom | `G`
| to the most left | `0`

# APIs

Scrolla sends [Distributed Notifications](https://developer.apple.com/documentation/foundation/distributednotificationcenter) to macOS when it starts highlighing Areas, and when it backs off.
You can listen to those Notifications with external tools like [BetterTouchTool](https://www.google.com/search?q=bettertouchtool) or [Hammerspoon](https://www.hammerspoon.org) and build your own custom workflows as a result of those Notifications.

The Notifications Names are:
* ScrollaDidEngage
* ScrollaDidDisengage

# Alternatives

* [Vimac](https://github.com/dexterleng/vimac) (open source, free)
Expand Down

0 comments on commit dafedc9

Please sign in to comment.