fix: fix input config
This commit is contained in:
+9
-1
@@ -1,5 +1,6 @@
|
|||||||
local M = {}
|
local M = {}
|
||||||
local settings = require("lua.lib.settings")
|
local settings = require("lua.lib.settings")
|
||||||
|
local utils = require("lua.lib.utils")
|
||||||
|
|
||||||
M.confs = {
|
M.confs = {
|
||||||
input = { touchpad = {} },
|
input = { touchpad = {} },
|
||||||
@@ -19,7 +20,14 @@ elseif settings["profile"] == "laptop" then
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
M.confs.input.touchpad.natural_scroll = settings["touchpad_natural_scroll"]
|
--M.confs.input.touchpad.natural_scroll = settings["touchpad_natural_scroll"]
|
||||||
|
M.confs = utils.tbl_recursive_merge(M.confs, {
|
||||||
|
input = {
|
||||||
|
touchpad = {
|
||||||
|
natural_scroll = settings["touchpad_natural_scroll"],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
M.confs.input.kb_layout = settings["kb_layout"]
|
M.confs.input.kb_layout = settings["kb_layout"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user