-
Notifications
You must be signed in to change notification settings - Fork 51
Install stackline
Adam Wagner edited this page Sep 1, 2020
·
17 revisions
- Clone the repo into ~/.hammerspoon/stackline
- Install the hammerspoon cli tool
# Get the repo
git clone https://github.com/AdamWagner/stackline.git ~/.hammerspoon/stackline
# Make stackline run when hammerspoon launches
echo 'stackline = require "stackline.stackline.stackline"' >> ~/.hammerspoon/init.lua
Now your ~/.hammerspoon
directory should look like this:
├── init.lua
└── stackline
├── bin
│ └── yabai-get-stack-idx
├── lib
│ ├── self.lua
│ └── utils.lua
└── stackline
├── config.lua
├── query.lua
├── stack.lua
├── stackline.lua
├── stackmanager.lua
└── window.lua
Open the hammerspoon console via the menu bar, type hs.ipc.cliInstall()
, and hit return.
Confirm that hs
is now available:
❯ which hs
/usr/local/bin/hs