diff --git a/api/lua/example_config.lua b/api/lua/example_config.lua index 0094f63..1820a0e 100644 --- a/api/lua/example_config.lua +++ b/api/lua/example_config.lua @@ -1,5 +1,7 @@ -local input = require("input") -local client = require("client") +require("pinnacle").setup(function(pinnacle) + local input = pinnacle.input + local client = pinnacle.client -input.keybind({ "Alt", "Ctrl" }, 99, client.close_window) -input.keybind({ "Ctrl", "Alt" }, 32, client.toggle_floating) + input.keybind({ "Alt", "Ctrl" }, 99, client.close_window) + input.keybind({ "Ctrl", "Alt" }, 32, client.toggle_floating) +end)