fixed exclusive mouse nonsense
This commit is contained in:
@@ -162,13 +162,18 @@ local globalAppBinds = {
|
|||||||
{ mod = subMod, key = { "SHIFT + s" }, dispatch = "grimblast copy area" },
|
{ mod = subMod, key = { "SHIFT + s" }, dispatch = "grimblast copy area" },
|
||||||
|
|
||||||
-- Mouse for moving windows
|
-- 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.drag(), opts = { mouse = 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.float(),
|
||||||
|
opts = { transparent = true, click = true },
|
||||||
|
},
|
||||||
{
|
{
|
||||||
mod = subMod,
|
mod = subMod,
|
||||||
key = { "mouse:272" },
|
key = { "mouse:272" },
|
||||||
dispatch = hl.dsp.layout("promote"),
|
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 } },
|
{ mod = subMod, key = { "SHIFT + mouse:272" }, dispatch = hl.dsp.window.resize(), opts = { mouse = true } },
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,9 +22,11 @@ hl.config({
|
|||||||
warp_on_toggle_special = 1, -- Go to special workspaces too
|
warp_on_toggle_special = 1, -- Go to special workspaces too
|
||||||
persistent_warps = true, -- Go back to where it was when I warp
|
persistent_warps = true, -- Go back to where it was when I warp
|
||||||
},
|
},
|
||||||
|
binds = {
|
||||||
|
drag_threshold = 10,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
if Hostname == "mobile02" or Hostname == "mobile03" then
|
if Hostname == "mobile02" or Hostname == "mobile03" then
|
||||||
hl.config({
|
hl.config({
|
||||||
input = { -- If on laptop make caps the escape key but make it be capslock when shift caps is pressed
|
input = { -- If on laptop make caps the escape key but make it be capslock when shift caps is pressed
|
||||||
|
|||||||
Reference in New Issue
Block a user