feat: init binds config
This commit is contained in:
@@ -2,6 +2,7 @@ local settings = require("lua.lib.settings")
|
||||
require("lua.lib.globals")
|
||||
local utils = require("lua.lib.utils")
|
||||
local events = require("lua.lib.events")
|
||||
local bind = require("lua.lib.bind")
|
||||
|
||||
local M = {}
|
||||
local modules = {}
|
||||
@@ -53,9 +54,7 @@ function M.load()
|
||||
events.map("hyprland.start", M.autostart)
|
||||
events.map("hyprland.shutdown", M.autostop)
|
||||
|
||||
for _, bind in pairs(M.binds) do
|
||||
bind()
|
||||
end
|
||||
bind.map(M.binds)
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user