Open MinatoHikari opened 2 years ago
Hello Hikari. Looking at the docs for ReloadConfiguration. The bindHotkeys
function takes in mapping which expects reloadConfiguration
entry to be there.
Try something like this:
hs.loadSpoon("ReloadConfiguration")
spoon.ReloadConfiguration:bindHotkeys({ reloadConfiguration = { {"cmd","ctrl"}, "r"} })
{ reloadConfiguration = { {"cmd","ctrl"}, "r"} }
it works, thanks!
mapping - A table containing hotkey modifier/key details for the following items
i really can't understand how to pass param to this function
these two do not work.