Skip to content
Adam Wagner edited this page Sep 1, 2020 · 17 revisions

Installing stackline

  1. Clone the repo into ~/.hammerspoon/stackline
  2. Install the hammerspoon cli tool

1. Clone the repo into ~/.hammerspoon/stackline

# 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

2. Install the hammerspoon cli tool

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

Next: Updating stackline →

Clone this wiki locally