diff --git a/modules/binds.lua b/modules/binds.lua index 43a27e1..f1f908b 100644 --- a/modules/binds.lua +++ b/modules/binds.lua @@ -162,13 +162,18 @@ local globalAppBinds = { { mod = subMod, key = { "SHIFT + s" }, dispatch = "grimblast copy area" }, -- Mouse for moving windows - { mod = subMod, key = { "mouse:272" }, dispatch = hl.dsp.window.drag(), opts = { mouse = true, drag = true } }, - { mod = subMod, key = { "mouse:272" }, dispatch = hl.dsp.window.float(), opts = { mouse = true, click = true } }, + { mod = subMod, key = { "mouse:272" }, dispatch = hl.dsp.window.drag(), opts = { mouse = true } }, + { + mod = subMod, + key = { "mouse:272" }, + dispatch = hl.dsp.window.float(), + opts = { transparent = true, click = true }, + }, { mod = subMod, key = { "mouse:272" }, dispatch = hl.dsp.layout("promote"), - opts = { mouse = true, release = true }, + opts = { transparent = true, release = true }, }, { mod = subMod, key = { "SHIFT + mouse:272" }, dispatch = hl.dsp.window.resize(), opts = { mouse = true } }, } diff --git a/modules/settings/input.lua b/modules/settings/input.lua index eed6f7b..a833dfa 100644 --- a/modules/settings/input.lua +++ b/modules/settings/input.lua @@ -22,9 +22,11 @@ hl.config({ warp_on_toggle_special = 1, -- Go to special workspaces too persistent_warps = true, -- Go back to where it was when I warp }, + binds = { + drag_threshold = 10, + }, }) - if Hostname == "mobile02" or Hostname == "mobile03" then hl.config({ input = { -- If on laptop make caps the escape key but make it be capslock when shift caps is pressed