Use mouse scroll wheel and modifiers to adjust volume.
Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/VolumeScroll.spoon.zip
| Signature | VolumeScroll:init() |
|---|---|
| Type | Method |
| Description | Initialize spoon |
| Parameters |
|
| Returns |
|
| Source | Source/VolumeScroll.spoon/init.lua line 19 |
| Signature | VolumeScroll:sameMods() |
|---|---|
| Type | Method |
| Description | Determine if a table of modifiers are the same modifiers passed into :start() |
| Parameters |
|
| Returns |
|
| Source | Source/VolumeScroll.spoon/init.lua line 83 |
| Signature | VolumeScroll:start() |
|---|---|
| Type | Method |
| Description | Start event watcher. |
| Parameters |
|
| Returns |
|
| Source | Source/VolumeScroll.spoon/init.lua line 33 |
| Signature | VolumeScroll:stop() |
|---|---|
| Type | Method |
| Description | Stop the scroll watcher |
| Parameters |
|
| Returns |
|
| Source | Source/VolumeScroll.spoon/init.lua line 70 |
| Signature | VolumeScroll:tableLength(T) |
|---|---|
| Type | Method |
| Description | Determine the number of items in a table |
| Parameters |
|
| Returns |
|
| Source | Source/VolumeScroll.spoon/init.lua line 107 |