fix: fix the input config

This commit is contained in:
2026-05-30 14:17:41 -04:00
parent ffa71223d5
commit 90f1a6b17b
+5 -4
View File
@@ -2,16 +2,17 @@ local M = {}
local settings = require("lua.lib.settings") local settings = require("lua.lib.settings")
M.confs = { M.confs = {
input = { touchpad = {}, gestures = {} }, input = { touchpad = {} },
gestures = {},
} }
if settings["profile"] == "desktop" then 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 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 = { M.gestures = {
{ {
fingures = 3, fingers = 3,
direction = "horizontal", direction = "horizontal",
action = "workspace", action = "workspace",
}, },