diff --git a/lua/conf/input.lua b/lua/conf/input.lua index bf430f0..b0fd0c8 100644 --- a/lua/conf/input.lua +++ b/lua/conf/input.lua @@ -2,16 +2,17 @@ local M = {} local settings = require("lua.lib.settings") M.confs = { - input = { touchpad = {}, gestures = {} }, + input = { touchpad = {} }, + gestures = {}, } if settings["profile"] == "desktop" then - M.confs.input.numlock_by_default = true + M.confs.input = table.insert(M.confs.input, { numlock_by_default = true }) elseif settings["profile"] == "laptop" then - M.confs.input.gestures.workspace_swipe_touch = true + M.confs.gestures = table.insert(M.confs.gestures, { workspace_swipe_touch = true }) M.gestures = { { - fingures = 3, + fingers = 3, direction = "horizontal", action = "workspace", },