Displays a list of mounted volumes and a pie chart for each indicating free space on the desktop
Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/MountedVolumes.spoon.zip
Signature | MountedVolumes.backgroundBorder |
---|---|
Type | Variable |
Description | A table, as defined in |
Source | Source/MountedVolumes.spoon/init.lua line 254 |
Signature | MountedVolumes.backgroundColor |
---|---|
Type | Variable |
Description | A table, as defined in |
Source | Source/MountedVolumes.spoon/init.lua line 247 |
Signature | MountedVolumes.capacityColor |
---|---|
Type | Variable |
Description | A table, as defined in |
Notes |
|
Source | Source/MountedVolumes.spoon/init.lua line 206 |
Signature | MountedVolumes.checkInterval |
---|---|
Type | Variable |
Description | A number, default 120, specifying how often in seconds the free space on mounted volumes should be polled for current usage data. |
Source | Source/MountedVolumes.spoon/init.lua line 240 |
Signature | MountedVolumes.cornerRadius |
---|---|
Type | Variable |
Description | A number, default 5, specifying how rounded the corners of the volume list background should be. |
Source | Source/MountedVolumes.spoon/init.lua line 261 |
Signature | MountedVolumes.enableEjectButton |
---|---|
Type | Variable |
Description | A boolean, default true, indicating whether the eject button displayed next to removable volumes is enabled. |
Notes |
|
Source | Source/MountedVolumes.spoon/init.lua line 198 |
Signature | MountedVolumes.freeColor |
---|---|
Type | Variable |
Description | A table, as defined in |
Notes |
|
Source | Source/MountedVolumes.spoon/init.lua line 214 |
Signature | MountedVolumes.growsDownwards |
---|---|
Type | Variable |
Description | A boolean, default true, indicating whether the displayed list grows downwards or upwards as more volumes are mounted. |
Notes |
|
Source | Source/MountedVolumes.spoon/init.lua line 231 |
Signature | MountedVolumes.location |
---|---|
Type | Variable |
Description | A table specifying the location on the screen of the starting corner of the display. Defaults to |
Notes |
|
Source | Source/MountedVolumes.spoon/init.lua line 222 |
Signature | MountedVolumes.textStyle |
---|---|
Type | Variable |
Description | A table specifying the style as defined in |
Notes |
|
Source | Source/MountedVolumes.spoon/init.lua line 181 |
Signature | MountedVolumes.unitsInSI |
---|---|
Type | Variable |
Description | Boolean, default false, indicating whether capacity is displayed in SI units (1 GB = 10^9 bytes) or Gibibytes (1 GiB = 2^30 bytes). |
Source | Source/MountedVolumes.spoon/init.lua line 174 |
Signature | MountedVolumes:bindHotkeys(mapping) |
---|---|
Type | Method |
Description | Binds hotkeys for MountedVolumes |
Parameters |
|
Returns |
|
Notes |
|
Source | Source/MountedVolumes.spoon/init.lua line 311 |
Signature | MountedVolumes:hide() |
---|---|
Type | Method |
Description | Hide the volumes panel on the background and stop watching for volume changes |
Parameters |
|
Returns |
|
Source | Source/MountedVolumes.spoon/init.lua line 290 |
Signature | MountedVolumes:show() |
---|---|
Type | Method |
Description | Display the volumes panel on the background and update it as volumes are mounted and unmounted. |
Parameters |
|
Returns |
|
Notes |
|
Source | Source/MountedVolumes.spoon/init.lua line 268 |