From ef18cf6530def6d11f73b51e91e67ae909d27793 Mon Sep 17 00:00:00 2001 From: Alex Popov Date: Sun, 23 Jul 2023 18:23:49 +0200 Subject: [PATCH] Update README.md Add note for Apple Silicon users to override config --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 004c102..bead6ab 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,16 @@ echo 'stackline = require "stackline"' >> init.lua echo 'stackline:init()' >> init.lua ``` +**Apple Silicon Users**: you need to manually specify the path to `yabai`, because homebrew switched to installing packages into `/opt/homebrew` by default. You can set the path by replacing the `stackline:init` in your `~/.hammerspoon/init.lua`: + +``` +stackline:init({ + paths = { + yabai = "/opt/homebrew/bin/yabai" + } +}) +``` + Now your `~/.hammerspoon` directory should look like this: ```