Skhd is a little utility software for MacOS that allows us to remap shortcuts for various actions. I updated yabai and suddenly my skhd stopped working.

First, we have to stop the currently running skhd process. We can do that with brew command.

Check if skhd is actively running or not.

~ ᐅ brew services list

# Stop it if it is actively running 
~ ᐅ brew services stop skhd

After this we can run skhd in verbose mode with skhd -V

~ ᐅ skhd -V
skhd: successfully created pid-file..
skhd: secure keyboard entry is enabled by (5530) 'iterm2'! abort..

brew services stop skhd

After googling around, I found out that on “iTerm” the “secure keyboard entry” was enabled somehow. I am unsure how it got enabled 🤷🏽‍♂️ . Probably it got enabled when I was trying to find some shortcuts with random keyboard hits 😅

Secure Keyboard Entry

To resolve it, I disabled Secure Keyboard Entry from iTerm menu and then skhd keyboard shortcuts started working again.

References