fixed exclusive mouse nonsense

This commit is contained in:
2026-09-19 14:16:57 +01:00
parent 1da2567cf3
commit 93dc67718a
2 changed files with 11 additions and 4 deletions

View File

@@ -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 } },
}

View File

@@ -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