From 90f1a6b17bc29e548a72d24c3522f7db5276cb71 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 30 May 2026 14:17:41 -0400 Subject: [PATCH] fix: fix the input config --- lua/conf/input.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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", },