fix: fix the input config
This commit is contained in:
+5
-4
@@ -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",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user