From d655c8a1a0fdf63cd784fd20222d3773818802e6 Mon Sep 17 00:00:00 2001 From: Seaotatop Date: Mon, 19 Jun 2023 19:09:05 -0500 Subject: [PATCH] Update example --- api/lua/example_config.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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)