Skip to content

Commit

Permalink
Merge pull request #47 from mogenson/update-readme
Browse files Browse the repository at this point in the history
Update Readme with SpoonInstall instructions
  • Loading branch information
mogenson committed May 22, 2024
2 parents 6ef95b9 + 79c0231 commit daf17f3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .gitignore

This file was deleted.

21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,27 @@ Spaces".

<img width="780" alt="Screen Shot 2022-01-07 at 14 10 11" src="https://user-images.githubusercontent.com/900731/148595715-1f7a3509-1289-4d10-b64d-86b84c076b43.png">

### Install with [SpoonInstall](https://www.hammerspoon.org/Spoons/SpoonInstall.html)

```lua
hs.loadSpoon("SpoonInstall")

spoon.SpoonInstall.repos.PaperWM = {
url = "https://github.com/mogenson/PaperWM.spoon",
desc = "PaperWM.spoon repository",
branch = "release",
}

spoon.SpoonInstall:andUse("PaperWM", {
repo = "PaperWM",
config = { screen_margin = 16, window_gap = 2 },
start = true,
hotkeys = {
< see below >
}
})
```

## Usage

Add the following to your `~/.hammerspoon/init.lua`:
Expand Down
2 changes: 1 addition & 1 deletion docs/docs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"name": "PaperWM",
"desc": "A package to enable a PaperWM like window management style"
"desc": "Tiled scrollable window manager for MacOS. Inspired by PaperWM."
}
]

0 comments on commit daf17f3

Please sign in to comment.