koekeishiya / skhd

Simple hotkey daemon for macOS
MIT License
6.05k stars 204 forks source link

`cmd - f7` hotkey supported? #331

Open milesromeno opened 7 months ago

milesromeno commented 7 months ago

I want lcmd + f7 to execute a yabai command. I exhaustively try in my .skhdrc

lcmd - f7 : yabai -m space --focus 2

and

lcmd - kVK_F7 : yabai -m space --focus 2

and

lcmd - 62 : yabai -m space --focus 2

all without success.

I try to confirm what keycode skhd recognizes f7 as with skhd -o, but nothing outputs when pressing f7.

Is using the fn keys within a hotkey shortcut supported?

lucasczpnk commented 7 months ago

I was having a similar issue with most binding i had, i found out after a few days trying to debug that it looks for skhdrc and not .skhdrc as the config file. Try removing the initial dot from the file name and reload skhd. Also i'm not sure if lcmd is supported, but cmd sure is.