Xiaobing
Xiaobing
> Can you please share your config and the commit hash of spacehammer: > > ```shell > cd ~/.hammerspoon > git rev-parse @ > ``` [spacehammer config](https://gist.github.com/xiaobing-huang/54fc3e1b1da39eefff83b845d476de9a) and commit hash...
> Did you happen to see anything? sorry for late feedback, the error still occurs. > 2021-11-06 07:53:17: 07:53:17 ERROR: LuaSkin: hs.application.watcher callback: ...on.app/Contents/Resources/extensions/hs/fnutils/init.lua:265: bad argument #1 to 'for iterator'...
just pulled the latest changes, will see whether the same error still occur.
applied the changes, will let you know whether it works.
> Any luck? this error seems caused by [line 189 in apps.fnl ](https://github.com/agzam/spacehammer/blob/259ed79f2e435a0f9a64b69c77acd000a33fbdb5/lib/apps.fnl#L189) the variable **apps** is nil, if i change apps to **state.context.apps**, the error will be gone.