-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
863 additions
and
634 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,23 +9,9 @@ obj.__gc = function(t) | |
t:stop() | ||
end | ||
|
||
-- Metadata | ||
obj.name = "Caffeine" | ||
obj.version = "1.0" | ||
obj.author = "Chris Jones <[email protected]>" | ||
obj.homepage = "https://github.com/Hammerspoon/Spoons" | ||
obj.license = "MIT - https://opensource.org/licenses/MIT" | ||
|
||
obj.menuBarItem = nil | ||
obj.hotkeyToggle = nil | ||
|
||
-- Internal function used to find our location, so we know where to load files from | ||
local function script_path() | ||
local str = debug.getinfo(2, "S").source:sub(2) | ||
return str:match("(.*/)") | ||
end | ||
obj.spoonPath = script_path() | ||
|
||
function obj:init() | ||
end | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "Caffeine", | ||
"version": "1.0", | ||
"author": "Chris Jones", | ||
"author_email": "[email protected]", | ||
"homepage": "https://github.com/Hammerspoon/Spoons", | ||
"license": "MIT", | ||
"license_url": "https://opensource.org/licenses/MIT" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.